mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-14 21:43:18 +00:00
Use configurtion file instead of GV
This commit is contained in:
@@ -107,7 +107,7 @@ class API_V1_adapter extends API_V1_Abstract
|
||||
{
|
||||
$result = new \API_V1_result($app, $app['request'], $this);
|
||||
|
||||
if ($app['phraseanet.registry"].get("GV_disable_task_manager']) {
|
||||
if (false === $app['phraseanet.configuration']['main']['task-manager']['enabled']) {
|
||||
$ret = array('state' => 'disabled');
|
||||
} else {
|
||||
$taskManager = $app['task-manager'];
|
||||
|
Reference in New Issue
Block a user