mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-18 10:16:49 +00:00
Throw some exceptions so I can spot deprecated code.
This commit is contained in:
@@ -55,7 +55,7 @@ class AccountController extends Controller
|
||||
$this->middleware(
|
||||
function ($request, $next) {
|
||||
$this->repository = app(AccountRepositoryInterface::class);
|
||||
die('uses old administration ID check, needs to be updated.2');
|
||||
throw new FireflyException('uses old administration ID check, needs to be updated.2');
|
||||
$this->repository->setAdministrationId(auth()->user()->user_group_id);
|
||||
return $next($request);
|
||||
}
|
||||
|
Reference in New Issue
Block a user