mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 23:13:15 +00:00
Replace app['phraseanet.appbox']->get_databox using trait
This commit is contained in:
@@ -37,7 +37,7 @@ class CreateCollection extends Command
|
||||
|
||||
protected function doExecute(InputInterface $input, OutputInterface $output)
|
||||
{
|
||||
$databox = $this->container['phraseanet.appbox']->get_databox((int) $input->getArgument('databox_id'));
|
||||
$databox = $this->container->findDataboxById((int) $input->getArgument('databox_id'));
|
||||
|
||||
$new_collection = \collection::create($this->container, $databox, $this->container['phraseanet.appbox'], $input->getArgument('collname'));
|
||||
|
||||
|
Reference in New Issue
Block a user