Rename command

This commit is contained in:
Sebastian Meyer 2024-01-06 18:29:26 +01:00
parent ec7f72cbe4
commit a03c29bc64
2 changed files with 3 additions and 3 deletions

View File

@ -29,7 +29,7 @@ use Exception;
use OCC\OaiPmh2\Console\AddRecordCommand; use OCC\OaiPmh2\Console\AddRecordCommand;
use OCC\OaiPmh2\Console\CsvImportCommand; use OCC\OaiPmh2\Console\CsvImportCommand;
use OCC\OaiPmh2\Console\DeleteRecordCommand; use OCC\OaiPmh2\Console\DeleteRecordCommand;
use OCC\OaiPmh2\Console\PruneRecordsCommand; use OCC\OaiPmh2\Console\PruneDeletedRecordsCommand;
use OCC\OaiPmh2\Console\PruneResumptionTokensCommand; use OCC\OaiPmh2\Console\PruneResumptionTokensCommand;
use OCC\OaiPmh2\Console\UpdateFormatsCommand; use OCC\OaiPmh2\Console\UpdateFormatsCommand;
@ -39,7 +39,7 @@ $commands = [
new AddRecordCommand(), new AddRecordCommand(),
new CsvImportCommand(), new CsvImportCommand(),
new DeleteRecordCommand(), new DeleteRecordCommand(),
new PruneRecordsCommand(), new PruneDeletedRecordsCommand(),
new PruneResumptionTokensCommand(), new PruneResumptionTokensCommand(),
new UpdateFormatsCommand() new UpdateFormatsCommand()
]; ];

View File

@ -40,7 +40,7 @@ use Symfony\Component\Console\Output\OutputInterface;
name: 'oai:records:prune', name: 'oai:records:prune',
description: 'Prune deleted records from database' description: 'Prune deleted records from database'
)] )]
class PruneRecordsCommand extends Command class PruneDeletedRecordsCommand extends Command
{ {
/** /**
* Configures the current command. * Configures the current command.