Fix a glitch on AtomPub posting for micro-apps -- hook wasn't returning the new notice back to the calling code.

This commit is contained in:
Brion Vibber 2011-07-26 12:19:33 -07:00
parent 8844b373b4
commit fcc4bbde19
1 changed files with 3 additions and 3 deletions

View File

@ -447,9 +447,9 @@ abstract class MicroAppPlugin extends Plugin
$options = array('source' => 'atompub');
// $user->getProfile() is a Profile
$this->saveNoticeFromActivity($activity,
$user->getProfile(),
$options);
$notice = $this->saveNoticeFromActivity($activity,
$user->getProfile(),
$options);
return false;
}