diff options
author | friendica <info@friendica.com> | 2015-01-22 21:04:54 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2015-01-22 21:04:54 -0800 |
commit | 4c2a1e572a03e253f05f03e400af26d403cbda32 (patch) | |
tree | edf7afa0bb97dfb9c8ea598a28c3e6281a65ec90 /include/poller.php | |
parent | 6e0e3b2433fc426b758a55811f56536d58705813 (diff) | |
download | volse-hubzilla-4c2a1e572a03e253f05f03e400af26d403cbda32.tar.gz volse-hubzilla-4c2a1e572a03e253f05f03e400af26d403cbda32.tar.bz2 volse-hubzilla-4c2a1e572a03e253f05f03e400af26d403cbda32.zip |
start on item_restrict conversion
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 896553a43..a9647c725 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'); |