mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-12 12:33:26 +00:00
refactor commands
This commit is contained in:
@@ -42,9 +42,7 @@ class module_console_fieldsDelete extends Command
|
||||
|
||||
public function execute(InputInterface $input, OutputInterface $output)
|
||||
{
|
||||
if ( ! $this->checkSetup($output)) {
|
||||
return 1;
|
||||
}
|
||||
$this->checkSetup();
|
||||
|
||||
try {
|
||||
$databox = \databox::get_instance((int) $input->getArgument('sbas_id'));
|
||||
|
Reference in New Issue
Block a user