mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-18 02:03:40 +00:00
Throw some exceptions so I can spot deprecated code.
This commit is contained in:
@@ -245,7 +245,7 @@ class NetWorth implements NetWorthInterface
|
||||
{
|
||||
$this->userGroup = $userGroup;
|
||||
$this->adminAccountRepository = app(AdminAccountRepositoryInterface::class);
|
||||
die('uses old administration ID check, needs to be updated.A');
|
||||
throw new FireflyException('uses old administration ID check, needs to be updated.A');
|
||||
$this->adminAccountRepository->setAdministrationId($userGroup->id);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user