mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Fix issues related to #3111
This commit is contained in:
@@ -60,5 +60,8 @@ class BudgetDestroyService
|
||||
|
||||
// also delete all relations between categories and transactions:
|
||||
DB::table('budget_transaction')->where('budget_id', (int)$budget->id)->delete();
|
||||
|
||||
// also delete all budget limits
|
||||
$budget->budgetlimits()->delete();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user