aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAndrew Manning <tamanning@zoho.com>2016-06-09 20:07:09 -0400
committerAndrew Manning <tamanning@zoho.com>2016-06-09 20:07:09 -0400
commit7a242f829fac2b434726c2bbdca5dbf658404c76 (patch)
tree5b7b4d086dccac5017fcb31211a27d689cb8e21f /include
parent9410b63bbc819955964706c876bc2f7ecea10adf (diff)
parentee5372784e129ed7a162c7433f56fa3a1e877a67 (diff)
downloadvolse-hubzilla-7a242f829fac2b434726c2bbdca5dbf658404c76.tar.gz
volse-hubzilla-7a242f829fac2b434726c2bbdca5dbf658404c76.tar.bz2
volse-hubzilla-7a242f829fac2b434726c2bbdca5dbf658404c76.zip
Merge remote-tracking branch 'upstream/dev' into wiki
Diffstat (limited to 'include')
-rw-r--r--include/api.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/api.php b/include/api.php
index f0d886d9b..be525f7e9 100644
--- a/include/api.php
+++ b/include/api.php
@@ -1904,10 +1904,15 @@ require_once('include/api_auth.php');
$ret = array();
+ $x = array('items' => $r,'api_user' => api_user(),'user_info' => $user_info);
+ call_hooks('api_format_items',$x);
+ $r = $x['items'];
+
if(! $r)
return $ret;
foreach($r as $item) {
+
localize_item($item);
$status_user = (($item['author_xchan']==$user_info['guid'])?$user_info: api_item_get_user($a,$item));