diff options
author | zotlabs <mike@macgirvin.com> | 2017-04-25 20:48:38 -0700 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2017-04-25 20:48:38 -0700 |
commit | b88be137ca68c6b52e13ce1738fbc55651f37138 (patch) | |
tree | b683ec5f739255568f5c205c636aba2b9e607259 /include/items.php | |
parent | 195eb712002dcf1b79382c740720317d5311a6e8 (diff) | |
download | volse-hubzilla-b88be137ca68c6b52e13ce1738fbc55651f37138.tar.gz volse-hubzilla-b88be137ca68c6b52e13ce1738fbc55651f37138.tar.bz2 volse-hubzilla-b88be137ca68c6b52e13ce1738fbc55651f37138.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 a4862208e..1f79ee567 100755 --- a/include/items.php +++ b/include/items.php @@ -3885,6 +3885,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'])))); } |