mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-15 16:57:09 +00:00
Code clean up.
This commit is contained in:
@@ -110,7 +110,6 @@ class Controller extends BaseController
|
||||
return $next($request);
|
||||
}
|
||||
);
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -162,7 +161,6 @@ class Controller extends BaseController
|
||||
if (in_array($account->accountType->type, $valid)) {
|
||||
return redirect(route('accounts.show', [$account->id]));
|
||||
}
|
||||
|
||||
}
|
||||
// @codeCoverageIgnoreStart
|
||||
Session::flash('error', strval(trans('firefly.cannot_redirect_to_account')));
|
||||
@@ -178,5 +176,4 @@ class Controller extends BaseController
|
||||
{
|
||||
Session::put($identifier, URL::previous());
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user