mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2026-01-07 06:31:22 +00:00
Expand action and clean up code.
This commit is contained in:
@@ -56,7 +56,7 @@ class MigrateToRules extends Command
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
protected $signature = 'firefly-iii:bills-to-rules {--F|force : Force the execution of this command.}';
|
||||
protected $signature = 'firefly-iii:bills-to-rules {--F|force : Force the execution of this command.}';
|
||||
private BillRepositoryInterface $billRepository;
|
||||
private int $count;
|
||||
private RuleGroupRepositoryInterface $ruleGroupRepository;
|
||||
|
||||
@@ -249,11 +249,11 @@ class UpgradeLiabilitiesEight extends Command
|
||||
// code is kept in place so I can revisit my reasoning.
|
||||
$delete = false;
|
||||
|
||||
// if ($delete) {
|
||||
// if ($delete) {
|
||||
$service = app(TransactionGroupDestroyService::class);
|
||||
$service->destroy($journal->transactionGroup);
|
||||
$count++;
|
||||
// }
|
||||
// }
|
||||
}
|
||||
|
||||
return $count;
|
||||
|
||||
Reference in New Issue
Block a user