diff options
author | redmatrix <mike@macgirvin.com> | 2016-09-25 17:06:13 -0700 |
---|---|---|
committer | redmatrix <mike@macgirvin.com> | 2016-09-25 17:06:13 -0700 |
commit | fb9544badd66043bf7ee5a7566ba288ad7da29fa (patch) | |
tree | 3bdb33ed9eef9101f1d6d6972ac9411051b988ce /Zotlabs/Daemon/Onepoll.php | |
parent | 4e85bc66b8a5f5347ae15dda229f028d31b58469 (diff) | |
download | volse-hubzilla-fb9544badd66043bf7ee5a7566ba288ad7da29fa.tar.gz volse-hubzilla-fb9544badd66043bf7ee5a7566ba288ad7da29fa.tar.bz2 volse-hubzilla-fb9544badd66043bf7ee5a7566ba288ad7da29fa.zip |
null_date conversion; phase 1
Diffstat (limited to 'Zotlabs/Daemon/Onepoll.php')
-rw-r--r-- | Zotlabs/Daemon/Onepoll.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Daemon/Onepoll.php b/Zotlabs/Daemon/Onepoll.php index bebf8bf17..33b244dc5 100644 --- a/Zotlabs/Daemon/Onepoll.php +++ b/Zotlabs/Daemon/Onepoll.php @@ -54,7 +54,7 @@ class Onepoll { logger("onepoll: poll: ({$contact['id']}) IMPORTER: {$importer['xchan_name']}, CONTACT: {$contact['xchan_name']}"); - $last_update = ((($contact['abook_updated'] === $contact['abook_created']) || ($contact['abook_updated'] === NULL_DATE)) + $last_update = ((($contact['abook_updated'] === $contact['abook_created']) || ($contact['abook_updated'] <= NULL_DATE)) ? datetime_convert('UTC','UTC','now - 7 days') : datetime_convert('UTC','UTC',$contact['abook_updated'] . ' - 2 days') ); |