From 47e91e06606918028be362ecf8e99b9f860eb8e8 Mon Sep 17 00:00:00 2001 From: zotlabs Date: Mon, 10 Oct 2016 22:44:11 -0700 Subject: don't expire posts before 2001 --- Zotlabs/Daemon/Cron.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'Zotlabs') 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) { -- cgit v1.2.3