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:
parent
8844b373b4
commit
fcc4bbde19
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user