Rename and clean up commands.

This commit is contained in:
James Cole
2024-12-27 07:24:47 +01:00
parent 062c148e43
commit 36457455ca
42 changed files with 159 additions and 187 deletions

View File

@@ -37,7 +37,7 @@ class RemovesEmptyGroups extends Command
use ShowsFriendlyMessages;
protected $description = 'Delete empty transaction groups.';
protected $signature = 'firefly-iii:delete-empty-groups';
protected $signature = 'correction:empty-groups';
/**
* Execute the console command.
@@ -61,9 +61,6 @@ class RemovesEmptyGroups extends Command
TransactionGroup::whereNull('deleted_at')->whereIn('id', $chunk)->delete();
}
}
if (0 === $total) {
$this->friendlyInfo('Verified there are no empty groups.');
}
return 0;
}