diff options
author | zotlabs <mike@macgirvin.com> | 2017-04-25 20:48:38 -0700 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2017-04-26 14:12:11 +0200 |
commit | 7667c630a4a682ba5a48d1ece173cdcdff575e00 (patch) | |
tree | e00b714ebb493dd7b6a32e148782a9c9b772e664 /include/items.php | |
parent | 97458b288534d2270a592af141bacdcade84d12c (diff) | |
download | volse-hubzilla-7667c630a4a682ba5a48d1ece173cdcdff575e00.tar.gz volse-hubzilla-7667c630a4a682ba5a48d1ece173cdcdff575e00.tar.bz2 volse-hubzilla-7667c630a4a682ba5a48d1ece173cdcdff575e00.zip |
provide a broken feed for services which require a broken feed
Diffstat (limited to 'include/items.php')
-rwxr-xr-x | include/items.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/items.php b/include/items.php index 2e46ee3bd..d183ea815 100755 --- a/include/items.php +++ b/include/items.php @@ -3969,6 +3969,10 @@ function items_fetch($arr,$channel = null,$observer_hash = null,$client_mode = C } } + if(intval($arr['compat']) === 1) { + $sql_extra = " AND author_xchan = owner_xchan and item_wall = 1 and item_private = 0 "; + } + if ($arr['datequery']) { $sql_extra3 .= protect_sprintf(sprintf(" AND item.created <= '%s' ", dbesc(datetime_convert('UTC','UTC',$arr['datequery'])))); } |