]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Sigh, copy-pasting when tired is a bad idea.
authorMikael Nordfeldth <mmn@hethane.se>
Sat, 3 Oct 2015 14:19:38 +0000 (16:19 +0200)
committerMikael Nordfeldth <mmn@hethane.se>
Sat, 3 Oct 2015 14:19:38 +0000 (16:19 +0200)
plugins/ActivityModeration/ActivityModerationPlugin.php
plugins/ActivityModeration/classes/Deleted_notice.php

index dc21b115526e7556c08102409c38736e241ab317..34735ebf2c67d8acdb6cdc1d297c7399f524fd97 100644 (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;
index f74ea331eef6ee9a17275dad4b3a91b163279b84..ff1b56e2738fbb8a2acb7f53e98a3bfb6b2ec647 100644 (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;