From 26e27e3339c3383b058cbaaa52f7c6a49e198940 Mon Sep 17 00:00:00 2001 From: Marcin Kurczewski Date: Fri, 9 May 2014 20:38:04 +0200 Subject: [PATCH] Ban job returns user --- src/Api/Jobs/ToggleUserBanJob.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Api/Jobs/ToggleUserBanJob.php b/src/Api/Jobs/ToggleUserBanJob.php index 34e585d9..59ef1167 100644 --- a/src/Api/Jobs/ToggleUserBanJob.php +++ b/src/Api/Jobs/ToggleUserBanJob.php @@ -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()