aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2016-10-10 22:44:11 -0700
committerzotlabs <mike@macgirvin.com>2016-10-10 22:45:01 -0700
commit47e91e06606918028be362ecf8e99b9f860eb8e8 (patch)
treea8915b365350e233fafe15dde76b7dc9b0520f5f /Zotlabs
parent49fd53ee677fbf58dd427b0fcce475a1e73753fa (diff)
downloadvolse-hubzilla-47e91e06606918028be362ecf8e99b9f860eb8e8.tar.gz
volse-hubzilla-47e91e06606918028be362ecf8e99b9f860eb8e8.tar.bz2
volse-hubzilla-47e91e06606918028be362ecf8e99b9f860eb8e8.zip
don't expire posts before 2001
Diffstat (limited to 'Zotlabs')
-rw-r--r--Zotlabs/Daemon/Cron.php3
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) {