aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-05-28 22:06:22 -0700
committerredmatrix <redmatrix@redmatrix.me>2015-05-28 22:06:22 -0700
commit3a9139f76ee64b49c7902269cb3d98f6a6e20230 (patch)
tree68f3606908cd8aa3f9bc200d62b09b80c5c84a0b
parent9ff988e3d776088c969849a046ad6ff3811084e7 (diff)
downloadvolse-hubzilla-3a9139f76ee64b49c7902269cb3d98f6a6e20230.tar.gz
volse-hubzilla-3a9139f76ee64b49c7902269cb3d98f6a6e20230.tar.bz2
volse-hubzilla-3a9139f76ee64b49c7902269cb3d98f6a6e20230.zip
there was a reason we included that file
-rwxr-xr-xinclude/items.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/items.php b/include/items.php
index 71d4213b7..aa052b307 100755
--- a/include/items.php
+++ b/include/items.php
@@ -4389,6 +4389,8 @@ function zot_feed($uid,$observer_hash,$arr) {
$mindate = null;
$message_id = null;
+ require_once('include/security.php');
+
if(array_key_exists('mindate',$arr)) {
$mindate = datetime_convert('UTC','UTC',$arr['mindate']);
}
@@ -4411,10 +4413,8 @@ function zot_feed($uid,$observer_hash,$arr) {
return $result;
}
- if(! is_sys_channel($uid)) {
- require_once('include/security.php');
+ if(! is_sys_channel($uid))
$sql_extra = item_permissions_sql($uid,$observer_hash);
- }
$limit = " LIMIT 100 ";