Completed
Push — develop ( 07098b...f03e4a )
by Greg
01:51
created
app/Http/Controllers/GroupController.php 2 patches
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -3,8 +3,6 @@
 block discarded – undo
3 3
 namespace App\Http\Controllers;
4 4
 
5 5
 use Illuminate\Http\Request;
6
-
7
-use App\Http\Requests;
8 6
 use App\Group;
9 7
 use App\Account;
10 8
 
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -101,7 +101,7 @@
 block discarded – undo
101 101
     {
102 102
         $group = Group::findOrFail($id);
103 103
         $accounts = Group::Find($id)->accounts()->where('status', Account::ACCOUNT_DISABLE);
104
-        if (count($accounts) > 0 ) {
104
+        if (count($accounts) > 0) {
105 105
             $accounts->delete();
106 106
         }
107 107
         return redirect()->back()->with(
Please login to merge, or discard this patch.