Commit aab7667c authored by mmn's avatar mmn

Sigh, copy-pasting when tired is a bad idea.

parent 833abbb1
......@@ -106,7 +106,6 @@ class ActivityModerationPlugin extends ActivityVerbHandlerPlugin
throw new ServerException('Could not insert Deleted_notice entry into database!');
}
common_debug('DELETING notice, actually deleting now!');
$target->delete();
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}}.'),
htmlspecialchars($actor->getUrl()),
htmlspecialchars($actor->getBestName()),
htmlspecialchars($actor->getTargetUri())
htmlspecialchars($this->getTargetUri())
);
return $actobj;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment