moving all the model classes away from the Features folder

This commit is contained in:
Gustavo Cruz
2015-03-13 09:58:54 -04:00
parent 8cab5a63d3
commit c887019a59
21 changed files with 6002 additions and 689 deletions

View File

@@ -177,13 +177,15 @@ class AppDelegation extends BaseAppDelegation
$oPluginRegistry->executeTriggers(PM_CREATE_NEW_DELEGATION, $data);
/*----------------------------------********---------------------------------*/
// this section evaluates the actions by email trigger execution
// this section evaluates the actions by email trigger execution please
// modify this section carefully, the if evaluation checks if the license has been
// activated in order to send the mail according to the configuration table
if (PMLicensedFeatures
::getSingleton()
->verifyfeature('zLhSk5TeEQrNFI2RXFEVktyUGpnczV1WEJNWVp6cjYxbTU3R29mVXVZNWhZQT0=')) {
G::LoadClass('ActionsByEmailFeature');
$actionsByEmail = new ActionsByEmailFeature('actionsByEmail');
$actionsByEmail->executeTriggers(PM_CREATE_NEW_DELEGATION, $data);
G::LoadClass('actionsByEmail');
$actionsByEmail = new actionsByEmailClass();
$actionsByEmail->sendActionsByEmail($data);
}
/*----------------------------------********---------------------------------*/
}