aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-03-11 17:41:56 -0700
committerfriendica <info@friendica.com>2014-03-11 17:41:56 -0700
commit5e41ef921999e1dc4d29101d4d764db967e257ee (patch)
treed0321e21cbbaf2645bebd8f9e78518462e204590 /include
parentc903ff7aab3f7d094d0ae0c37f9fe46887cf2363 (diff)
downloadvolse-hubzilla-5e41ef921999e1dc4d29101d4d764db967e257ee.tar.gz
volse-hubzilla-5e41ef921999e1dc4d29101d4d764db967e257ee.tar.bz2
volse-hubzilla-5e41ef921999e1dc4d29101d4d764db967e257ee.zip
protect filed conversations from expiration - we check the parent to see if it is filed, but one may have filed a comment and that will vanish when the parent expires unless the parent is protected.
Diffstat (limited to 'include')
-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)
);