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
|
//Processing
|
||||||
eprintln('Processing workspace: ' . $workspace, 'green');
|
eprintln('Processing workspace: ' . $workspace, 'green');
|
||||||
|
|
||||||
|
// We load plugins' pmFunctions
|
||||||
|
$oPluginRegistry = PluginRegistry::loadSingleton();
|
||||||
|
$oPluginRegistry->init();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
switch ($cronName) {
|
switch ($cronName) {
|
||||||
case 'cron':
|
case 'cron':
|
||||||
@@ -284,9 +288,6 @@ try {
|
|||||||
function processWorkspace()
|
function processWorkspace()
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
$oPluginRegistry = PluginRegistry::loadSingleton();
|
|
||||||
$oPluginRegistry->init();
|
|
||||||
|
|
||||||
global $sObject;
|
global $sObject;
|
||||||
global $sLastExecution;
|
global $sLastExecution;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user