From 89836b5725fc6b77729ba57d557ea60bb1690891 Mon Sep 17 00:00:00 2001 From: Awilum Date: Tue, 14 Sep 2021 07:58:07 +0300 Subject: [PATCH] feat(console): update EntriesDeleteCommand options #543 --- .../core/Console/Commands/Entries/EntriesDeleteCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/flextype/core/Console/Commands/Entries/EntriesDeleteCommand.php b/src/flextype/core/Console/Commands/Entries/EntriesDeleteCommand.php index 13e19687..e49db716 100644 --- a/src/flextype/core/Console/Commands/Entries/EntriesDeleteCommand.php +++ b/src/flextype/core/Console/Commands/Entries/EntriesDeleteCommand.php @@ -28,7 +28,7 @@ class EntriesDeleteCommand extends Command { $io = new SymfonyStyle($input, $output); - if (entries()->delete($input->getOption('id'), $data)) { + if (entries()->delete($input->getOption('id'))) { $io->success('Deleted entry ' . $input->getOption('id')); return Command::SUCCESS; } else {