diff options
author | friendica <info@friendica.com> | 2012-12-30 23:55:57 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2012-12-30 23:55:57 -0800 |
commit | ba0876d01198fa36fa48b7a14a42b0ab6d7007b6 (patch) | |
tree | 857976d655ebdf329ab184a6e56456ec6ed99d7b /include/onepoll.php | |
parent | 2d113f0c87952488c1b3e560f1ec4ec1d37a2585 (diff) | |
download | volse-hubzilla-ba0876d01198fa36fa48b7a14a42b0ab6d7007b6.tar.gz volse-hubzilla-ba0876d01198fa36fa48b7a14a42b0ab6d7007b6.tar.bz2 volse-hubzilla-ba0876d01198fa36fa48b7a14a42b0ab6d7007b6.zip |
update timestamps on successful poll
Diffstat (limited to 'include/onepoll.php')
-rw-r--r-- | include/onepoll.php | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/include/onepoll.php b/include/onepoll.php index a9fc0b2f3..1d7ac226d 100644 --- a/include/onepoll.php +++ b/include/onepoll.php @@ -51,9 +51,8 @@ function onepoll_run($argv, $argc){ return; $contact = $contacts[0]; - $t = $contact['abook_updated']; - + $t = $contact['abook_updated']; $importer_uid = $contact['abook_channel']; @@ -82,6 +81,10 @@ function onepoll_run($argv, $argc){ } else { + q("update abook set abook_updated = '%s' where abook_id = %d limit 1", + dbesc(datetime_convert()), + intval($contact['abook_id']) + ); // if marked for death, reset |