Applied fixes from StyleCI
This commit is contained in:

committed by
StyleCI Bot

parent
ee1de58cdc
commit
d8f88103e3
@@ -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());
|
||||||
}
|
}
|
||||||
|
@@ -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());
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user