Removing deprecated references and files
This commit is contained in:
@@ -36,16 +36,6 @@ class Main extends Controller
|
||||
$this->setVar( 'workspace', !empty(config("system.workspace")) ? ucfirst( config("system.workspace") ) : '' );
|
||||
$this->setVar( 'user_avatar', 'users/users_ViewPhotoGrid?pUID=' . $_SESSION['USER_LOGGED'] . '&h=' . rand() );
|
||||
|
||||
// license notification
|
||||
$expireInLabel = '';
|
||||
|
||||
require_once("classes" . PATH_SEP . "class.pmLicenseManager.php");
|
||||
$pmLicenseManager = PmLicenseManager::getSingleton();
|
||||
$expireIn = $pmLicenseManager->getExpireIn();
|
||||
$expireInLabel = $pmLicenseManager->getExpireInLabel();
|
||||
|
||||
$this->setVar('licenseNotification', $expireInLabel);
|
||||
|
||||
// setting variables on javascript env.
|
||||
$this->setJSVar('meta', array('menu' => $this->getMenu()
|
||||
));
|
||||
|
||||
Reference in New Issue
Block a user