mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-13 13:03:20 +00:00
Fix tasks for 3.6+
This commit is contained in:
@@ -44,7 +44,7 @@ class module_console_checkExtension extends Command
|
|||||||
if (!extension_loaded('phrasea2'))
|
if (!extension_loaded('phrasea2'))
|
||||||
printf("Missing Extension php-phrasea");
|
printf("Missing Extension php-phrasea");
|
||||||
|
|
||||||
$appbox = \appbox::get_instance();
|
$appbox = \appbox::get_instance(\bootstrap::getCore());
|
||||||
$registry = $appbox->get_registry();
|
$registry = $appbox->get_registry();
|
||||||
|
|
||||||
$usr_id = $input->getOption('usr_id');
|
$usr_id = $input->getOption('usr_id');
|
||||||
|
@@ -139,7 +139,7 @@ class module_console_systemExport extends Command
|
|||||||
$output->writeln("Export datas from selected base_ids");
|
$output->writeln("Export datas from selected base_ids");
|
||||||
}
|
}
|
||||||
|
|
||||||
$appbox = \appbox::get_instance();
|
$appbox = \appbox::get_instance(\bootstrap::getCore());
|
||||||
|
|
||||||
$total = $errors = 0;
|
$total = $errors = 0;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user