PMC-930 Use the "JobsManager" class in "Derivation" class

This commit is contained in:
Roly Rudy Gutierrez Pinto
2019-07-12 18:11:09 -04:00
parent c233541f5e
commit 33b63bed20
8 changed files with 55 additions and 20 deletions

View File

@@ -2,6 +2,7 @@
use Illuminate\Foundation\Http\Kernel;
use ProcessMaker\Core\AppEvent;
use ProcessMaker\Core\JobsManager;
/*----------------------------------********---------------------------------*/
use ProcessMaker\ChangeLog\ChangeLog;
/*----------------------------------********---------------------------------*/
@@ -704,6 +705,11 @@ if (defined('DEBUG_SQL_LOG') && DEBUG_SQL_LOG) {
Propel::init(PATH_CORE . "config/databases.php");
}
/**
* JobsManager
*/
JobsManager::getSingleton()->init();
//here we are loading all plugins registered
//the singleton has a list of enabled plugins
$oPluginRegistry = PluginRegistry::loadSingleton();