Apply fixes from StyleCI

This commit is contained in:
Bhanu
2019-12-03 05:27:49 +00:00
committed by StyleCI Bot
parent d96ca92d17
commit df7bc56fa1
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);