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

This commit is contained in:
Mikael Nordfeldth 2015-10-03 16:19:38 +02:00
parent 833abbb191
commit aab7667cd5
2 changed files with 1 additions and 2 deletions

View File

@ -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;

View File

@ -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;