]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
include saved notice in atompub events
authorEvan Prodromou <evan@status.net>
Tue, 28 Dec 2010 06:11:30 +0000 (22:11 -0800)
committerEvan Prodromou <evan@status.net>
Tue, 28 Dec 2010 06:11:30 +0000 (22:11 -0800)
actions/apitimelineuser.php

index 1573f748972104c242da428e1fe62d5037d84d6e..5809df3b5ee17fb6a18b9fa3db8867b3bba600f1 100644 (file)
@@ -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.