Merge pull request #259 from ladybirdweb/analysis-8AbLMP
Applied fixes from StyleCI
This commit is contained in:
@@ -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