include saved notice in atompub events
This commit is contained in:
parent
a85bbd9088
commit
0bcc3ee005
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue
Block a user