new param getUserObjects to avoid retransmitting the whole user info objects

This commit is contained in:
Max Weller 2012-06-23 19:38:15 +02:00
parent 2c992c5969
commit 9d462c6b6a

View File

@ -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;
}