mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-11-06 18:02:42 +00:00
Throw some exceptions so I can spot deprecated code.
This commit is contained in:
@@ -78,7 +78,7 @@ class BudgetController extends Controller
|
||||
*/
|
||||
public function dashboard(DateRequest $request): JsonResponse
|
||||
{
|
||||
die('uses old administration ID check, needs to be updated.3');
|
||||
throw new FireflyException('uses old administration ID check, needs to be updated.3');
|
||||
// get user.
|
||||
/** @var User $user */
|
||||
$user = auth()->user();
|
||||
|
||||
Reference in New Issue
Block a user