Add more info in logging call

There shouldn't be *HandleSalmonTarget, only verification of actor and
then Notice::saveActivity()!
This commit is contained in:
Mikael Nordfeldth 2016-01-08 01:52:10 +01:00
parent 4e0ed61f7c
commit 0463d96392

View 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();