From fcc4bbde19853eb1c3dcf9478725cbac3aceed5a Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Tue, 26 Jul 2011 12:19:33 -0700 Subject: [PATCH] Fix a glitch on AtomPub posting for micro-apps -- hook wasn't returning the new notice back to the calling code. --- lib/microappplugin.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/microappplugin.php b/lib/microappplugin.php index 542e973ddc..a723ecde42 100644 --- a/lib/microappplugin.php +++ b/lib/microappplugin.php @@ -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; } -- 2.39.5