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 {