aboutsummaryrefslogtreecommitdiffstats
path: root/include/items.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2015-03-24 15:53:55 -0700
committerfriendica <info@friendica.com>2015-03-24 15:53:55 -0700
commit3d600088424d2e1f71c7b5ae7571a8a101e9e8e2 (patch)
tree2b621dfa76f98b3549ff6e48b61bd10970da3eef /include/items.php
parentabf642be7fe250860f02e238da7152b9f7d464ce (diff)
downloadvolse-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-xinclude/items.php2
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