diff options
author | zotlabs <mike@macgirvin.com> | 2016-10-10 22:44:11 -0700 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2016-10-10 22:44:11 -0700 |
commit | c6eecb06d552b8266d0d0746d88e6d1da3aae97b (patch) | |
tree | 16fcb03bf6206c862b877bedc720784cdfdb1316 /Zotlabs/Daemon/Cron.php | |
parent | 896b46d18eea53aea26b68db9d3dacc1b34efab1 (diff) | |
download | volse-hubzilla-c6eecb06d552b8266d0d0746d88e6d1da3aae97b.tar.gz volse-hubzilla-c6eecb06d552b8266d0d0746d88e6d1da3aae97b.tar.bz2 volse-hubzilla-c6eecb06d552b8266d0d0746d88e6d1da3aae97b.zip |
don't expire posts before 2001
Diffstat (limited to 'Zotlabs/Daemon/Cron.php')
-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 924667b05..350dda7a0 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) { |