Merged in bugfix/HOR-4280 (pull request #6322)
HOR-4280 Approved-by: Julio Cesar Laura Avendaño <contact@julio-laura.com>
This commit is contained in:
@@ -234,6 +234,10 @@ try {
|
||||
//Processing
|
||||
eprintln('Processing workspace: ' . $workspace, 'green');
|
||||
|
||||
// We load plugins' pmFunctions
|
||||
$oPluginRegistry = PluginRegistry::loadSingleton();
|
||||
$oPluginRegistry->init();
|
||||
|
||||
try {
|
||||
switch ($cronName) {
|
||||
case 'cron':
|
||||
@@ -284,9 +288,6 @@ try {
|
||||
function processWorkspace()
|
||||
{
|
||||
try {
|
||||
$oPluginRegistry = PluginRegistry::loadSingleton();
|
||||
$oPluginRegistry->init();
|
||||
|
||||
global $sObject;
|
||||
global $sLastExecution;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user