First take to migration of classes into the ProcessMaker Core

This commit is contained in:
Gustavo Cruz
2015-03-12 18:04:39 -04:00
parent 725abf09f9
commit 8cab5a63d3
5 changed files with 370 additions and 13 deletions

View File

@@ -174,9 +174,18 @@ class AppDelegation extends BaseAppDelegation
$data->DEL_INDEX = $delIndex;
$data->USR_UID = $sUsrUid;
$oPluginRegistry = &PMPluginRegistry::getSingleton();
$featureRegistry = &PMFeatureRegistry::getSingleton();
$oPluginRegistry->executeTriggers( PM_CREATE_NEW_DELEGATION, $data );
$featureRegistry->executeTriggers( PM_CREATE_NEW_DELEGATION, $data );
$oPluginRegistry->executeTriggers(PM_CREATE_NEW_DELEGATION, $data);
/*----------------------------------********---------------------------------*/
// this section evaluates the actions by email trigger execution
if (PMLicensedFeatures
::getSingleton()
->verifyfeature('zLhSk5TeEQrNFI2RXFEVktyUGpnczV1WEJNWVp6cjYxbTU3R29mVXVZNWhZQT0=')) {
G::LoadClass('ActionsByEmailFeature');
$actionsByEmail = new ActionsByEmailFeature('actionsByEmail');
$actionsByEmail->executeTriggers(PM_CREATE_NEW_DELEGATION, $data);
}
/*----------------------------------********---------------------------------*/
}
return $delIndex;