diff options
Diffstat (limited to 'include/poller.php')
-rw-r--r-- | include/poller.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/include/poller.php b/include/poller.php index d78355db1..b655259a4 100644 --- a/include/poller.php +++ b/include/poller.php @@ -53,10 +53,9 @@ function poller_run($argv, $argc){ // expire any expired items $r = q("select id from item where expires != '%s' and expires < %s - and ( item_restrict & %d ) = 0 ", + and item_deleted = 0 ", dbesc(NULL_DATE), - db_utcnow(), - intval(ITEM_DELETED) + db_utcnow() ); if($r) { require_once('include/items.php'); |