GI-240
Fixing an error when loading the class pmGoogleApi.
This commit is contained in:
@@ -1002,7 +1002,7 @@ function synchronizeGmailLabels()
|
|||||||
}
|
}
|
||||||
$licensedFeatures = &PMLicensedFeatures::getSingleton();
|
$licensedFeatures = &PMLicensedFeatures::getSingleton();
|
||||||
if (!$licensedFeatures->verifyfeature('AhKNjBEVXZlWUFpWE8wVTREQ0FObmo0aTdhVzhvalFic1M=')) {
|
if (!$licensedFeatures->verifyfeature('AhKNjBEVXZlWUFpWE8wVTREQ0FObmo0aTdhVzhvalFic1M=')) {
|
||||||
G::LoadClass( "PMGoogleApi" );
|
G::LoadClass( "pmGoogleApi" );
|
||||||
$pmGoogle = new PMGoogleApi();
|
$pmGoogle = new PMGoogleApi();
|
||||||
if($pmGoogle->getServiceGmailStatus()) {
|
if($pmGoogle->getServiceGmailStatus()) {
|
||||||
setExecutionMessage("Synchronize labels in Gmail");
|
setExecutionMessage("Synchronize labels in Gmail");
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ if (typeof window.parent != 'undefined') {
|
|||||||
$statusPMGmail = false;
|
$statusPMGmail = false;
|
||||||
$licensedFeatures = &PMLicensedFeatures::getSingleton();
|
$licensedFeatures = &PMLicensedFeatures::getSingleton();
|
||||||
if ($licensedFeatures->verifyfeature('7qhYmF1eDJWcEdwcUZpT0k4S0xTRStvdz09')) {
|
if ($licensedFeatures->verifyfeature('7qhYmF1eDJWcEdwcUZpT0k4S0xTRStvdz09')) {
|
||||||
G::LoadClass( "PMGoogleApi" );
|
G::LoadClass( "pmGoogleApi" );
|
||||||
$pmGoogle = new PMGoogleApi();
|
$pmGoogle = new PMGoogleApi();
|
||||||
$statusPMGmail = $pmGoogle->getServiceGmailStatus();
|
$statusPMGmail = $pmGoogle->getServiceGmailStatus();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -265,7 +265,7 @@ function startCase ()
|
|||||||
//sending the email for gmail integration if the option is available
|
//sending the email for gmail integration if the option is available
|
||||||
$licensedFeatures = &PMLicensedFeatures::getSingleton();
|
$licensedFeatures = &PMLicensedFeatures::getSingleton();
|
||||||
if ($licensedFeatures->verifyfeature('7qhYmF1eDJWcEdwcUZpT0k4S0xTRStvdz09')) {
|
if ($licensedFeatures->verifyfeature('7qhYmF1eDJWcEdwcUZpT0k4S0xTRStvdz09')) {
|
||||||
G::LoadClass( "PMGoogleApi" );
|
G::LoadClass( "pmGoogleApi" );
|
||||||
$pmGoogle = new PMGoogleApi();
|
$pmGoogle = new PMGoogleApi();
|
||||||
|
|
||||||
if($pmGoogle->getServiceGmailStatus()){
|
if($pmGoogle->getServiceGmailStatus()){
|
||||||
|
|||||||
@@ -34,7 +34,7 @@ require_once (PATH_HOME . "engine" . PATH_SEP . "classes" . PATH_SEP . "class.la
|
|||||||
$oLabels = new labelsGmail();
|
$oLabels = new labelsGmail();
|
||||||
$oLabels->addRelabelingToQueue($caseId, $actualIndex, $actualLastIndex, false);
|
$oLabels->addRelabelingToQueue($caseId, $actualIndex, $actualLastIndex, false);
|
||||||
|
|
||||||
G::LoadClass( "PMGoogleApi" );
|
G::LoadClass( "pmGoogleApi" );
|
||||||
$pmGoogle = new PMGoogleApi();
|
$pmGoogle = new PMGoogleApi();
|
||||||
if(array_key_exists('gmail', $_SESSION) && $_SESSION['gmail'] == 1 && $pmGoogle->getServiceGmailStatus() ){
|
if(array_key_exists('gmail', $_SESSION) && $_SESSION['gmail'] == 1 && $pmGoogle->getServiceGmailStatus() ){
|
||||||
$_SESSION['gmail'] = 0;
|
$_SESSION['gmail'] = 0;
|
||||||
|
|||||||
@@ -64,7 +64,7 @@ $urlToRedirectAfterPause = 'casesListExtJs';
|
|||||||
/*----------------------------------********---------------------------------*/
|
/*----------------------------------********---------------------------------*/
|
||||||
$licensedFeatures = &PMLicensedFeatures::getSingleton();
|
$licensedFeatures = &PMLicensedFeatures::getSingleton();
|
||||||
if ($licensedFeatures->verifyfeature('7qhYmF1eDJWcEdwcUZpT0k4S0xTRStvdz09')) {
|
if ($licensedFeatures->verifyfeature('7qhYmF1eDJWcEdwcUZpT0k4S0xTRStvdz09')) {
|
||||||
G::LoadClass( "PMGoogleApi" );
|
G::LoadClass( "pmGoogleApi" );
|
||||||
$pmGoogle = new PMGoogleApi();
|
$pmGoogle = new PMGoogleApi();
|
||||||
if (array_key_exists('gmail', $_SESSION) && $_SESSION['gmail'] == 1 && $pmGoogle->getServiceGmailStatus()) {
|
if (array_key_exists('gmail', $_SESSION) && $_SESSION['gmail'] == 1 && $pmGoogle->getServiceGmailStatus()) {
|
||||||
$_SESSION['gmail'] = 0;
|
$_SESSION['gmail'] = 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user