diff options
author | friendica <info@friendica.com> | 2015-03-24 15:53:55 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2015-03-24 15:53:55 -0700 |
commit | 3d600088424d2e1f71c7b5ae7571a8a101e9e8e2 (patch) | |
tree | 2b621dfa76f98b3549ff6e48b61bd10970da3eef /include/items.php | |
parent | abf642be7fe250860f02e238da7152b9f7d464ce (diff) | |
download | volse-hubzilla-3d600088424d2e1f71c7b5ae7571a8a101e9e8e2.tar.gz volse-hubzilla-3d600088424d2e1f71c7b5ae7571a8a101e9e8e2.tar.bz2 volse-hubzilla-3d600088424d2e1f71c7b5ae7571a8a101e9e8e2.zip |
provide a site-wide expiration policy without loopholes - still need work to reduce the impact of expiration queries.
Diffstat (limited to 'include/items.php')
-rwxr-xr-x | include/items.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/items.php b/include/items.php index d1998bd0a..a1515ad88 100755 --- a/include/items.php +++ b/include/items.php @@ -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 |