Change call license

This commit is contained in:
Marco A. Nina Mena
2017-08-11 16:54:58 -04:00
parent b1016289f4
commit bf1af966c0
7 changed files with 2 additions and 24 deletions

View File

@@ -1,6 +1,4 @@
<?php
require_once ("classes/model/Configuration.php");
class EnterpriseUtils
{

View File

@@ -1,6 +1,6 @@
<?php
class license_application extends padl
class license_application extends Padl
{
/**
* The number of allowed differences between the $_SERVER vars and the vars

View File

@@ -337,7 +337,7 @@ class PMLicensedFeatures
$licenseManager = pmLicenseManager::getSingleton(false);
$_SESSION['__sw__'] = true;
$padl = new padl();
$padl = new Padl();
$value = $padl->_decrypt($featureName);
if (is_array($value)) {

View File

@@ -33,8 +33,6 @@ class AddonsStore extends BaseAddonsStore
*/
public static function checkLicenseStore()
{
require_once PATH_CORE . 'classes' . PATH_SEP . 'class.pmLicenseManager.php';
//getting the licenseManager....
$licenseManager = &pmLicenseManager::getSingleton();
@@ -331,12 +329,6 @@ class AddonsStore extends BaseAddonsStore
*/
public function update($force = false, $type = 'plugin')
{
require_once PATH_CORE . 'classes' . PATH_SEP . 'class.pmLicenseManager.php';
if (!class_exists('AddonsManagerPeer')) {
require_once ('classes/model/AddonsManager.php');
}
//If we have any addon that is installing or updating, don't update store
$criteria = new Criteria(AddonsManagerPeer::DATABASE_NAME);
$criteria->add(AddonsManagerPeer::ADDON_STATE, '', Criteria::NOT_EQUAL);