mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
chore: code cleanup.
This commit is contained in:
@@ -52,7 +52,7 @@ class BudgetDestroyService
|
||||
DB::table('budget_transaction')->where('budget_id', (int)$budget->id)->delete();
|
||||
|
||||
// also delete all budget limits
|
||||
foreach($budget->budgetlimits()->get() as $limit) {
|
||||
foreach ($budget->budgetlimits()->get() as $limit) {
|
||||
$limit->delete();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user