API My wall posts
This commit is contained in:
@@ -3712,7 +3712,9 @@ function items_fetch($arr,$channel = null,$observer_hash = null,$client_mode = C
|
||||
$def_acl = '';
|
||||
|
||||
$item_uids = ' true ';
|
||||
|
||||
|
||||
if ($arr['uid']) $uid= $arr['uid'];
|
||||
|
||||
if($channel) {
|
||||
$uid = $channel['channel_id'];
|
||||
$uidhash = $channel['channel_hash'];
|
||||
@@ -3724,7 +3726,7 @@ function items_fetch($arr,$channel = null,$observer_hash = null,$client_mode = C
|
||||
|
||||
if($arr['wall'])
|
||||
$sql_options .= " and (item_flags & " . intval(ITEM_WALL) . ") ";
|
||||
|
||||
|
||||
$sql_extra = " AND item.parent IN ( SELECT parent FROM item WHERE (item_flags & " . intval(ITEM_THREAD_TOP) . ") $sql_options ) ";
|
||||
|
||||
if($arr['since_id'])
|
||||
@@ -3893,7 +3895,7 @@ function items_fetch($arr,$channel = null,$observer_hash = null,$client_mode = C
|
||||
ORDER BY item.$ordering DESC $pager_sql ",
|
||||
intval(ABOOK_FLAG_BLOCKED)
|
||||
);
|
||||
|
||||
|
||||
}
|
||||
else {
|
||||
// update
|
||||
|
||||
Reference in New Issue
Block a user