diff options
author | friendica <info@friendica.com> | 2012-06-14 17:38:39 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2012-06-14 17:38:39 -0700 |
commit | 2efee75557bafc32b20be1cceac047fdeea3bb71 (patch) | |
tree | ca1a9a48ed40f4a07ecba49d35f259ba5fa0b6b6 /include/onepoll.php | |
parent | 267681844d81364afce37c86f92b803c3d8e4c48 (diff) | |
download | volse-hubzilla-2efee75557bafc32b20be1cceac047fdeea3bb71.tar.gz volse-hubzilla-2efee75557bafc32b20be1cceac047fdeea3bb71.tar.bz2 volse-hubzilla-2efee75557bafc32b20be1cceac047fdeea3bb71.zip |
also mark for death if there isn't any xml to be found
Diffstat (limited to 'include/onepoll.php')
-rw-r--r-- | include/onepoll.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/onepoll.php b/include/onepoll.php index 804a166c8..22f29deb2 100644 --- a/include/onepoll.php +++ b/include/onepoll.php @@ -162,6 +162,9 @@ function onepoll_run($argv, $argc){ if(! strstr($handshake_xml,'<?xml')) { logger('poller: response from ' . $url . ' did not contain XML.'); + + mark_for_death($contact); + $r = q("UPDATE `contact` SET `last-update` = '%s' WHERE `id` = %d LIMIT 1", dbesc(datetime_convert()), intval($contact['id']) |