mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-16 22:43:19 +00:00
Use configurtion file instead of GV
This commit is contained in:
@@ -73,7 +73,7 @@ class module_console_taskrun extends Command
|
||||
return self::EXITCODE_SETUP_ERROR;
|
||||
}
|
||||
|
||||
if ($this->container['phraseanet.registry"].get("GV_disable_task_manager']) {
|
||||
if (false === $this->container['phraseanet.configuration']['main']['task-manager']['enabled']) {
|
||||
throw new RuntimeException('The use of the task manager is disabled on this instance.');
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user