Fixed logging of tag removal in mass tag
This commit is contained in:
parent
f885acb5f2
commit
e2f6440e18
1 changed files with 2 additions and 2 deletions
|
@ -44,14 +44,14 @@ class TogglePostTagJob extends AbstractJob
|
||||||
Logger::log('{user} tagged {post} with {tag}', [
|
Logger::log('{user} tagged {post} with {tag}', [
|
||||||
'user' => TextHelper::reprUser(Auth::getCurrentUser()),
|
'user' => TextHelper::reprUser(Auth::getCurrentUser()),
|
||||||
'post' => TextHelper::reprPost($post),
|
'post' => TextHelper::reprPost($post),
|
||||||
'tag' => TextHelper::reprTag($tag)]);
|
'tag' => TextHelper::reprTag($tagName)]);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
Logger::log('{user} untagged {post} with {tag}', [
|
Logger::log('{user} untagged {post} with {tag}', [
|
||||||
'user' => TextHelper::reprUser(Auth::getCurrentUser()),
|
'user' => TextHelper::reprUser(Auth::getCurrentUser()),
|
||||||
'post' => TextHelper::reprPost($post),
|
'post' => TextHelper::reprPost($post),
|
||||||
'tag' => TextHelper::reprTag($tag)]);
|
'tag' => TextHelper::reprTag($tagName)]);
|
||||||
}
|
}
|
||||||
|
|
||||||
return $post;
|
return $post;
|
||||||
|
|
Loading…
Reference in a new issue