new param getUserObjects to avoid retransmitting the whole user info objects
This commit is contained in:
parent
2c992c5969
commit
9d462c6b6a
|
@ -1610,6 +1610,9 @@
|
|||
} else {
|
||||
$d['text'] = $item['title']."\n".html2plain(bbcode($item['body']), 0);
|
||||
}
|
||||
if (isset($_GET["getUserObjects"]) && $_GET["getUserObjects"] == "false") {
|
||||
unset($d['sender']); unset($d['recipient']);
|
||||
}
|
||||
$ret[]=$d;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue