mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Code cleanup. Moving closer to new release.
This commit is contained in:
@@ -60,11 +60,11 @@ class RuleGroupRepository implements RuleGroupRepositoryInterface
|
||||
if (is_null($moveTo)) {
|
||||
|
||||
$rule->delete();
|
||||
} else {
|
||||
// move
|
||||
$rule->ruleGroup()->associate($moveTo);
|
||||
$rule->save();
|
||||
continue;
|
||||
}
|
||||
// move
|
||||
$rule->ruleGroup()->associate($moveTo);
|
||||
$rule->save();
|
||||
}
|
||||
|
||||
$ruleGroup->delete();
|
||||
|
Reference in New Issue
Block a user