mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-12 04:23:19 +00:00
Add labels to databoxes
This commit is contained in:
@@ -126,7 +126,7 @@ class module_console_systemExport extends Command
|
||||
$total = $errors = 0;
|
||||
|
||||
foreach ($this->getService('phraseanet.appbox')->get_databoxes() as $databox) {
|
||||
$output->writeln(sprintf("Processing <info>%s</info>", $databox->get_viewname()));
|
||||
$output->writeln(sprintf("Processing <info>%s</info>", $databox->get_label($this->container['locale.I18n'])));
|
||||
|
||||
if (count($restrictSbasIds) > 0 && ! in_array($databox->get_sbas_id(), $restrictSbasIds)) {
|
||||
$output->writeln(sprintf("Databox not selected, bypassing ..."));
|
||||
|
Reference in New Issue
Block a user