remove deprecated app parameter from conversation()

This commit is contained in:
zotlabs
2017-06-20 15:53:01 -07:00
parent 07a8151ae6
commit 31e0812711
8 changed files with 10 additions and 11 deletions

View File

@@ -818,7 +818,7 @@ class Item extends \Zotlabs\Web\Controller {
$datarray['owner'] = $owner_xchan;
$datarray['author'] = $observer;
$datarray['attach'] = json_encode($datarray['attach']);
$o = conversation($a,array($datarray),'search',false,'preview');
$o = conversation(array($datarray),'search',false,'preview');
// logger('preview: ' . $o, LOGGER_DEBUG);
echo json_encode(array('preview' => $o));
killme();