Throw some exceptions so I can spot deprecated code.

This commit is contained in:
James Cole
2023-09-21 16:09:40 +02:00
parent 0b220f3288
commit 62bba0d33b
22 changed files with 51 additions and 42 deletions

View File

@@ -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);
}