Apply fixes from StyleCI

This commit is contained in:
Manish Verma
2016-12-05 04:20:56 +00:00
committed by StyleCI Bot
parent ea4314a339
commit b2a1b7ec55
30 changed files with 207 additions and 256 deletions

View File

@@ -276,7 +276,6 @@ class AgentController extends Controller
$user->id;
$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);