mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-10 11:33:17 +00:00
Cleanup namepaces, variables uses
This commit is contained in:
@@ -54,10 +54,8 @@ class module_console_fieldsMerge extends Command
|
||||
{
|
||||
$output->writeln("");
|
||||
|
||||
$appbox = $this->getService('phraseanet.appbox');
|
||||
|
||||
try {
|
||||
$databox = $appbox->get_databox((int) $input->getArgument('sbas_id'));
|
||||
$databox = $this->getService('phraseanet.appbox')->get_databox((int) $input->getArgument('sbas_id'));
|
||||
} catch (\Exception $e) {
|
||||
$output->writeln("<error>Invalid databox id </error>");
|
||||
|
||||
|
Reference in New Issue
Block a user