diff options
author | zotlabs <mike@macgirvin.com> | 2016-10-10 22:44:11 -0700 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2016-10-10 22:46:24 -0700 |
commit | 26cc73118a648940a20a4f462a07a73681309af0 (patch) | |
tree | 94926c3bc1922f398b381aa02abe2fbeff81bd49 /Zotlabs | |
parent | dab3495751fed06589b7d082e24c96f2188abcc6 (diff) | |
download | volse-hubzilla-26cc73118a648940a20a4f462a07a73681309af0.tar.gz volse-hubzilla-26cc73118a648940a20a4f462a07a73681309af0.tar.bz2 volse-hubzilla-26cc73118a648940a20a4f462a07a73681309af0.zip |
don't expire posts before 2001
Diffstat (limited to 'Zotlabs')
-rw-r--r-- | Zotlabs/Daemon/Cron.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Zotlabs/Daemon/Cron.php b/Zotlabs/Daemon/Cron.php index c66b62f55..ec974ad61 100644 --- a/Zotlabs/Daemon/Cron.php +++ b/Zotlabs/Daemon/Cron.php @@ -50,9 +50,8 @@ class Cron { // expire any expired items - $r = q("select id from item where expires != '%s' and expires < %s + $r = q("select id from item where expires > '2001-01-01 00:00:00' and expires < %s and item_deleted = 0 ", - dbesc(NULL_DATE), db_utcnow() ); if($r) { |