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/expire.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/expire.php')
-rw-r--r-- | include/expire.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/expire.php b/include/expire.php index a229bd4ac..b0bf55e4f 100644 --- a/include/expire.php +++ b/include/expire.php @@ -7,8 +7,7 @@ function expire_run($argv, $argc){ cli_startup(); - $r = q("select id from item where (item_restrict & %d)>0 and not (item_restrict & %d)>0 and changed < %s - INTERVAL %s", - intval(ITEM_DELETED), + $r = q("select id from item where item_deleted = 1 and not (item_restrict & %d)>0 and changed < %s - INTERVAL %s", intval(ITEM_PENDING_REMOVE), db_utcnow(), db_quoteinterval('10 DAY') ); |