aboutsummaryrefslogtreecommitdiffstats
path: root/include/expire.php
diff options
context:
space:
mode:
authorChristian Vogeley <christian.vogeley@hotmail.de>2014-03-15 21:54:10 +0100
committerChristian Vogeley <christian.vogeley@hotmail.de>2014-03-15 21:54:10 +0100
commit521b091779ddb2a4ca58c28af9312cb5bcf2dd9f (patch)
tree27d854c5b8668470a3005425e428b8c115550aad /include/expire.php
parentf0736fc955e69d4650f95dc937f26be222967199 (diff)
parent3cb179aff19d803b91261e410c50b36e4bae1246 (diff)
downloadvolse-hubzilla-521b091779ddb2a4ca58c28af9312cb5bcf2dd9f.tar.gz
volse-hubzilla-521b091779ddb2a4ca58c28af9312cb5bcf2dd9f.tar.bz2
volse-hubzilla-521b091779ddb2a4ca58c28af9312cb5bcf2dd9f.zip
merge
Diffstat (limited to 'include/expire.php')
-rw-r--r--include/expire.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/expire.php b/include/expire.php
index f1002b890..2d94d64c0 100644
--- a/include/expire.php
+++ b/include/expire.php
@@ -9,7 +9,7 @@ function expire_run($argv, $argc){
// physically remove anything that has been deleted for more than two months
- $r = q("delete from item where item_flags & %d and changed < UTC_TIMESTAMP() - INTERVAL 60 DAY",
+ $r = q("delete from item where ( item_flags & %d ) and changed < UTC_TIMESTAMP() - INTERVAL 60 DAY",
intval(ITEM_DELETED)
);