]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Add more info in logging call
authorMikael Nordfeldth <mmn@hethane.se>
Fri, 8 Jan 2016 00:52:10 +0000 (01:52 +0100)
committerMikael Nordfeldth <mmn@hethane.se>
Fri, 8 Jan 2016 00:52:10 +0000 (01:52 +0100)
There shouldn't be *HandleSalmonTarget, only verification of actor and
then Notice::saveActivity()!

lib/activityhandlerplugin.php

index e771034be96ec6ae0356c2681cb1ffb6754525dc..988a6c30a3f5f5ead193123b5dc2a317eb319eca 100644 (file)
@@ -381,7 +381,7 @@ abstract class ActivityHandlerPlugin extends Plugin
             return true;
         }
 
-        $this->log(LOG_INFO, "Checking {$activity->id} as a valid Salmon slap.");
+        $this->log(LOG_INFO, get_called_class()." checking {$activity->id} as a valid Salmon slap.");
 
         if ($target instanceof User_group || $target->isGroup()) {
             $uri = $target->getUri();