provide a site-wide expiration policy without loopholes - still need work to reduce the impact of expiration queries.
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user