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

@@ -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;