From: Mikael Nordfeldth Date: Sat, 3 Oct 2015 14:19:38 +0000 (+0200) Subject: Sigh, copy-pasting when tired is a bad idea. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=aab7667cd53b06c012d811aebb7a391dd3ec74e7;p=quix0rs-gnu-social.git Sigh, copy-pasting when tired is a bad idea. --- diff --git a/plugins/ActivityModeration/ActivityModerationPlugin.php b/plugins/ActivityModeration/ActivityModerationPlugin.php index dc21b11552..34735ebf2c 100644 --- a/plugins/ActivityModeration/ActivityModerationPlugin.php +++ b/plugins/ActivityModeration/ActivityModerationPlugin.php @@ -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; diff --git a/plugins/ActivityModeration/classes/Deleted_notice.php b/plugins/ActivityModeration/classes/Deleted_notice.php index f74ea331ee..ff1b56e273 100644 --- a/plugins/ActivityModeration/classes/Deleted_notice.php +++ b/plugins/ActivityModeration/classes/Deleted_notice.php @@ -164,7 +164,7 @@ class Deleted_notice extends Managed_DataObject $actobj->content = sprintf(_m('%2$s deleted notice {{%3$s}}.'), htmlspecialchars($actor->getUrl()), htmlspecialchars($actor->getBestName()), - htmlspecialchars($actor->getTargetUri()) + htmlspecialchars($this->getTargetUri()) ); return $actobj;