provide a site-wide expiration policy without loopholes - still need work to reduce the impact of expiration queries.

This commit is contained in:
friendica
2015-03-24 15:53:55 -07:00
parent abf642be7f
commit 3d60008842
3 changed files with 30 additions and 12 deletions

View File

@@ -3922,7 +3922,7 @@ function item_expire($uid,$days) {
$expire_network_only = 1;
$sql_extra = ((intval($expire_network_only)) ? " AND not (item_flags & " . intval(ITEM_WALL) . ")>0 " : "");
$sql_extra = ((intval($expire_network_only)) ? " AND not (item_flags & " . intval(ITEM_WALL) . ") > 0 " : "");
$r = q("SELECT * FROM `item`
WHERE `uid` = %d