Apply fixes from StyleCI

[ci skip] [skip ci]
This commit is contained in:
DariusIII
2018-11-13 12:12:43 +00:00
committed by StyleCI Bot
parent eb90c9e051
commit 3ebe9e9583
13 changed files with 19 additions and 25 deletions
@@ -361,7 +361,6 @@ class ProfileController extends BasePageController
$userId = $request->input('id');
if ($userId !== null && $this->userdata->hasRole('Admin') === false && (int) $userId === Auth::id()) {
User::deleteUser($userId);
return redirect('login');