Skip to content

Commit

Permalink
Merge pull request #231 from philippejadin/analysis-XZd50N
Browse files Browse the repository at this point in the history
Apply fixes from StyleCI
  • Loading branch information
philippejadin committed May 17, 2019
2 parents 83c9fc4 + 2b3080a commit fb294fb
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion app/Http/Controllers/ModuleController.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public function edit(Request $request, Group $group)
public function update(Request $request, Group $group)
{
$this->authorize('administer', $group);

if ($request->has('module_discussion')) {
$group->setSetting('module_discussion', true);
} else {
Expand Down
1 change: 0 additions & 1 deletion app/Http/Controllers/UndoController.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ public function __construct()
$this->middleware('admin');
}


/**
* List all actions that can be undoed (undeleted for now).
*/
Expand Down
2 changes: 0 additions & 2 deletions app/Http/Controllers/UserController.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
use App\Mail\UserConfirmation;
use App\User;
use Auth;
use File;
use Gate;
use Illuminate\Http\Request;
use Image;
Expand Down Expand Up @@ -350,5 +349,4 @@ public function destroy(User $user, Request $request)
return redirect()->route('index', $user);
}
}

}

0 comments on commit fb294fb

Please sign in to comment.