From: Evan Prodromou Date: Tue, 28 Dec 2010 06:11:30 +0000 (-0800) Subject: include saved notice in atompub events X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=0bcc3ee0054f3b1b77038d5627b55ecdd2d4c3e8;p=quix0rs-gnu-social.git include saved notice in atompub events --- diff --git a/actions/apitimelineuser.php b/actions/apitimelineuser.php index 1573f74897..5809df3b5e 100644 --- a/actions/apitimelineuser.php +++ b/actions/apitimelineuser.php @@ -324,7 +324,9 @@ class ApiTimelineUserAction extends ApiBareAuthAction $activity = new Activity($dom->documentElement); - if (Event::handle('StartAtomPubNewActivity', array(&$activity, $this->user))) { + $saved = null; + + if (Event::handle('StartAtomPubNewActivity', array(&$activity, $this->user, &$saved))) { if ($activity->verb != ActivityVerb::POST) { // TRANS: Client error displayed when not using the POST verb.