mirror of
https://github.com/flextype/flextype.git
synced 2025-08-10 07:06:45 +02:00
feat(console): update EntriesDeleteCommand options #543
This commit is contained in:
@@ -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 {
|
||||
|
Reference in New Issue
Block a user