Fixing an error when loading the class pmGoogleApi.
This commit is contained in:
jennydmz
2016-01-05 17:21:31 -04:00
parent fc9da96341
commit 5cbfcabb39
5 changed files with 5 additions and 5 deletions

View File

@@ -1002,7 +1002,7 @@ function synchronizeGmailLabels()
}
$licensedFeatures = &PMLicensedFeatures::getSingleton();
if (!$licensedFeatures->verifyfeature('AhKNjBEVXZlWUFpWE8wVTREQ0FObmo0aTdhVzhvalFic1M=')) {
G::LoadClass( "PMGoogleApi" );
G::LoadClass( "pmGoogleApi" );
$pmGoogle = new PMGoogleApi();
if($pmGoogle->getServiceGmailStatus()) {
setExecutionMessage("Synchronize labels in Gmail");

View File

@@ -5,7 +5,7 @@ if (typeof window.parent != 'undefined') {
$statusPMGmail = false;
$licensedFeatures = &PMLicensedFeatures::getSingleton();
if ($licensedFeatures->verifyfeature('7qhYmF1eDJWcEdwcUZpT0k4S0xTRStvdz09')) {
G::LoadClass( "PMGoogleApi" );
G::LoadClass( "pmGoogleApi" );
$pmGoogle = new PMGoogleApi();
$statusPMGmail = $pmGoogle->getServiceGmailStatus();
}

View File

@@ -265,7 +265,7 @@ function startCase ()
//sending the email for gmail integration if the option is available
$licensedFeatures = &PMLicensedFeatures::getSingleton();
if ($licensedFeatures->verifyfeature('7qhYmF1eDJWcEdwcUZpT0k4S0xTRStvdz09')) {
G::LoadClass( "PMGoogleApi" );
G::LoadClass( "pmGoogleApi" );
$pmGoogle = new PMGoogleApi();
if($pmGoogle->getServiceGmailStatus()){

View File

@@ -34,7 +34,7 @@ require_once (PATH_HOME . "engine" . PATH_SEP . "classes" . PATH_SEP . "class.la
$oLabels = new labelsGmail();
$oLabels->addRelabelingToQueue($caseId, $actualIndex, $actualLastIndex, false);
G::LoadClass( "PMGoogleApi" );
G::LoadClass( "pmGoogleApi" );
$pmGoogle = new PMGoogleApi();
if(array_key_exists('gmail', $_SESSION) && $_SESSION['gmail'] == 1 && $pmGoogle->getServiceGmailStatus() ){
$_SESSION['gmail'] = 0;

View File

@@ -64,7 +64,7 @@ $urlToRedirectAfterPause = 'casesListExtJs';
/*----------------------------------********---------------------------------*/
$licensedFeatures = &PMLicensedFeatures::getSingleton();
if ($licensedFeatures->verifyfeature('7qhYmF1eDJWcEdwcUZpT0k4S0xTRStvdz09')) {
G::LoadClass( "PMGoogleApi" );
G::LoadClass( "pmGoogleApi" );
$pmGoogle = new PMGoogleApi();
if (array_key_exists('gmail', $_SESSION) && $_SESSION['gmail'] == 1 && $pmGoogle->getServiceGmailStatus()) {
$_SESSION['gmail'] = 0;