Ban job returns user
This commit is contained in:
parent
39f49fc539
commit
26e27e3339
1 changed files with 2 additions and 0 deletions
|
@ -18,6 +18,8 @@ class ToggleUserBanJob extends AbstractUserJob
|
|||
: '{user} unbanned {subject}', [
|
||||
'user' => TextHelper::reprUser(Auth::getCurrentUser()),
|
||||
'subject' => TextHelper::reprUser($user)]);
|
||||
|
||||
return $user;
|
||||
}
|
||||
|
||||
public function requiresPrivilege()
|
||||
|
|
Loading…
Reference in a new issue