diff --git a/bin/cli b/bin/cli index 358f909..3d6b074 100644 --- a/bin/cli +++ b/bin/cli @@ -29,7 +29,7 @@ use Exception; use OCC\OaiPmh2\Console\AddRecordCommand; use OCC\OaiPmh2\Console\CsvImportCommand; use OCC\OaiPmh2\Console\DeleteRecordCommand; -use OCC\OaiPmh2\Console\PruneRecordsCommand; +use OCC\OaiPmh2\Console\PruneDeletedRecordsCommand; use OCC\OaiPmh2\Console\PruneResumptionTokensCommand; use OCC\OaiPmh2\Console\UpdateFormatsCommand; @@ -39,7 +39,7 @@ $commands = [ new AddRecordCommand(), new CsvImportCommand(), new DeleteRecordCommand(), - new PruneRecordsCommand(), + new PruneDeletedRecordsCommand(), new PruneResumptionTokensCommand(), new UpdateFormatsCommand() ]; diff --git a/src/Console/PruneRecordsCommand.php b/src/Console/PruneDeletedRecordsCommand.php similarity index 98% rename from src/Console/PruneRecordsCommand.php rename to src/Console/PruneDeletedRecordsCommand.php index 4db7ebb..dc575ab 100644 --- a/src/Console/PruneRecordsCommand.php +++ b/src/Console/PruneDeletedRecordsCommand.php @@ -40,7 +40,7 @@ use Symfony\Component\Console\Output\OutputInterface; name: 'oai:records:prune', description: 'Prune deleted records from database' )] -class PruneRecordsCommand extends Command +class PruneDeletedRecordsCommand extends Command { /** * Configures the current command.