Applied fixes from StyleCI

This commit is contained in:
Manish Verma
2016-10-20 13:29:35 +00:00
committed by StyleCI Bot
parent ee1de58cdc
commit d8f88103e3
2 changed files with 6 additions and 8 deletions

View File

@@ -706,7 +706,6 @@ class UserController extends Controller
} else { } else {
return Redirect::route('profile')->with('fails', Lang::get('lang.Profile-Updated-sucessfully')); return Redirect::route('profile')->with('fails', Lang::get('lang.Profile-Updated-sucessfully'));
} }
} catch (Exception $e) { } catch (Exception $e) {
return Redirect::route('profile')->with('fails', $e->getMessage()); return Redirect::route('profile')->with('fails', $e->getMessage());
} }

View File

@@ -117,7 +117,6 @@ class GuestController extends Controller
} else { } else {
return redirect()->back()->route('profile')->with('fails', Lang::get('lang.Profile-Updated-sucessfully')); return redirect()->back()->route('profile')->with('fails', Lang::get('lang.Profile-Updated-sucessfully'));
} }
} catch (Exception $e) { } catch (Exception $e) {
return redirect()->back()->route('profile')->with('fails', $e->getMessage()); return redirect()->back()->route('profile')->with('fails', $e->getMessage());
} }