Sigh, copy-pasting when tired is a bad idea.
This commit is contained in:
parent
833abbb191
commit
aab7667cd5
|
@ -106,7 +106,6 @@ class ActivityModerationPlugin extends ActivityVerbHandlerPlugin
|
||||||
throw new ServerException('Could not insert Deleted_notice entry into database!');
|
throw new ServerException('Could not insert Deleted_notice entry into database!');
|
||||||
}
|
}
|
||||||
|
|
||||||
common_debug('DELETING notice, actually deleting now!');
|
|
||||||
$target->delete();
|
$target->delete();
|
||||||
|
|
||||||
return $deleted;
|
return $deleted;
|
||||||
|
|
|
@ -164,7 +164,7 @@ class Deleted_notice extends Managed_DataObject
|
||||||
$actobj->content = sprintf(_m('<a href="%1$s">%2$s</a> deleted notice {{%3$s}}.'),
|
$actobj->content = sprintf(_m('<a href="%1$s">%2$s</a> deleted notice {{%3$s}}.'),
|
||||||
htmlspecialchars($actor->getUrl()),
|
htmlspecialchars($actor->getUrl()),
|
||||||
htmlspecialchars($actor->getBestName()),
|
htmlspecialchars($actor->getBestName()),
|
||||||
htmlspecialchars($actor->getTargetUri())
|
htmlspecialchars($this->getTargetUri())
|
||||||
);
|
);
|
||||||
|
|
||||||
return $actobj;
|
return $actobj;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user