Reinstate profile_info in author/actor

This commit is contained in:
Zach Copley
2011-02-17 19:02:57 -08:00
parent a199192ebf
commit 29ce5dd19a
5 changed files with 14 additions and 12 deletions

View File

@@ -92,7 +92,6 @@ class ActivityStreamJSONDocument
function addItemsFromNotices($notices)
{
common_debug("addItemsFromNotices");
if (is_array($notices)) {
foreach ($notices as $notice) {
$this->addItemFromNotice($notice);
@@ -114,7 +113,7 @@ class ActivityStreamJSONDocument
{
$cur = empty($this->cur) ? common_current_user() : $this->cur;
$act = $notice->asActivity();
$act = $notice->asActivity($cur);
$act->extra[] = $notice->noticeInfo($cur);
array_push($this->doc['items'], $act->asArray());