Merged in danteloayza/processmaker/GI-243 (pull request #3460)

GI-243 La instrucción para añadir la reetiquetación de casos unassigned usa la configuración de drive
This commit is contained in:
Dante Loayza
2016-01-07 17:00:20 -04:00

View File

@@ -71,9 +71,8 @@ if ($aDelegation['USR_UID'] == "") {
$licensedFeatures = &PMLicensedFeatures::getSingleton();
if ($licensedFeatures->verifyfeature('7qhYmF1eDJWcEdwcUZpT0k4S0xTRStvdz09')) {
require_once (PATH_HOME . "engine" . PATH_SEP . "classes" . PATH_SEP . "class.labelsGmail.php");
G::LoadClass("AppDocumentDrive");
$drive = new AppDocumentDrive();
if ($drive->getStatusDrive()) {
$pmGoogle = new PMGoogleApi();
if($pmGoogle->getServiceGmailStatus()) {
$labGmail = new labelsGmail();
$labGmail->addRelabelingToQueue($sAppUid, $iDelIndex, -1, true);
}