Apply fixes from StyleCI

This commit is contained in:
Manish Verma
2019-11-14 13:15:06 +00:00
committed by StyleCI Bot
parent 2056c7812f
commit dc5398859c
13 changed files with 3 additions and 16 deletions

View File

@@ -278,6 +278,7 @@ class AgentController extends Controller
$user->delete();
throw new \Exception($error);
return redirect('agents')->with('success', Lang::get('lang.agent_deleted_sucessfully'));
} catch (\Exception $e) {
return redirect('agents')->with('fails', $error);