mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-12-18 12:28:46 +00:00
Removed references to components.
This commit is contained in:
@@ -63,7 +63,7 @@ class Steam
|
||||
{
|
||||
$user = \Auth::user();
|
||||
if ($user) {
|
||||
\BudgetLimit::leftJoin('components', 'components.id', '=', 'budget_limits.component_id')->where('components.user_id', $user->id)
|
||||
\BudgetLimit::leftJoin('budgets', 'budgets.id', '=', 'budget_limits.budget_id')->where('budgets.user_id', $user->id)
|
||||
->where('budget_limits.amount', 0)->delete();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user