Merged in paulis/processmaker/PM-2939 (pull request #2354)
PM-2939: ActionsByEmail executed if the task is active with actionsByEmail and exists the feature
This commit is contained in:
@@ -188,10 +188,18 @@ class AppDelegation extends BaseAppDelegation
|
|||||||
if (PMLicensedFeatures
|
if (PMLicensedFeatures
|
||||||
::getSingleton()
|
::getSingleton()
|
||||||
->verifyfeature('zLhSk5TeEQrNFI2RXFEVktyUGpnczV1WEJNWVp6cjYxbTU3R29mVXVZNWhZQT0=')) {
|
->verifyfeature('zLhSk5TeEQrNFI2RXFEVktyUGpnczV1WEJNWVp6cjYxbTU3R29mVXVZNWhZQT0=')) {
|
||||||
|
$criteriaAbe = new Criteria();
|
||||||
|
$criteriaAbe->add(AbeConfigurationPeer::PRO_UID, $sProUid);
|
||||||
|
$criteriaAbe->add(AbeConfigurationPeer::TAS_UID, $sTasUid);
|
||||||
|
$resultAbe = AbeConfigurationPeer::doSelectRS($criteriaAbe);
|
||||||
|
$resultAbe->setFetchmode(ResultSet::FETCHMODE_ASSOC);
|
||||||
|
if ($resultAbe->next()) {
|
||||||
|
$dataAbe = $resultAbe->getRow();
|
||||||
G::LoadClass('actionsByEmailCore');
|
G::LoadClass('actionsByEmailCore');
|
||||||
$actionsByEmail = new actionsByEmailCoreClass();
|
$actionsByEmail = new actionsByEmailCoreClass();
|
||||||
$actionsByEmail->sendActionsByEmail($data);
|
$actionsByEmail->sendActionsByEmail($data);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
/*----------------------------------********---------------------------------*/
|
/*----------------------------------********---------------------------------*/
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user