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(); $licensedFeatures = &PMLicensedFeatures::getSingleton();
if ($licensedFeatures->verifyfeature('7qhYmF1eDJWcEdwcUZpT0k4S0xTRStvdz09')) { if ($licensedFeatures->verifyfeature('7qhYmF1eDJWcEdwcUZpT0k4S0xTRStvdz09')) {
require_once (PATH_HOME . "engine" . PATH_SEP . "classes" . PATH_SEP . "class.labelsGmail.php"); require_once (PATH_HOME . "engine" . PATH_SEP . "classes" . PATH_SEP . "class.labelsGmail.php");
G::LoadClass("AppDocumentDrive"); $pmGoogle = new PMGoogleApi();
$drive = new AppDocumentDrive(); if($pmGoogle->getServiceGmailStatus()) {
if ($drive->getStatusDrive()) {
$labGmail = new labelsGmail(); $labGmail = new labelsGmail();
$labGmail->addRelabelingToQueue($sAppUid, $iDelIndex, -1, true); $labGmail->addRelabelingToQueue($sAppUid, $iDelIndex, -1, true);
} }