Restore the loads function with empty content, for backward compatibilities

This commit is contained in:
Paula Quispe
2017-08-04 10:38:28 -04:00
parent a629993ad8
commit 0054edbc89
3 changed files with 85 additions and 11 deletions

View File

@@ -43,6 +43,91 @@ class G
public static $pathDataPublic; public static $pathDataPublic;
public static $httpHost; public static $httpHost;
/**
* Load Gulliver Classes
* @access public
* @param string $strClass
* @return void
* @deprecated 08-04-2017
*/
public static function LoadSystem($strClass)
{
//For backward compatibilities
}
/**
* Load System Classes
* @access public
* @param string $strClass
* @return void
* @deprecated 08-04-2017
*/
public static function LoadSystemExist($strClass)
{
//For backward compatibilities
}
/**
* Include javascript files
* @access public
* @param string $strClass
* @return void
* @deprecated 08-04-2017
*/
public static function LoadInclude($strClass)
{
//For backward compatibilities
}
/**
* Include all model files
* @access public
* @param string $strClass
* @return void
* @deprecated 08-04-2017
*/
public static function LoadAllModelClasses($strClass)
{
//For backward compatibilities
}
/**
* public function LoadClassRBAC
* @access public
* @param string $strClass
* @return void
* @deprecated 08-04-2017
*/
public static function LoadClassRBAC($strClass)
{
//For backward compatibilities
}
/**
* If the class is not defined by the aplication, it
* attempt to load the class from gulliver.system
* @access public
* @param string $strClass
* @return void
* @deprecated 08-04-2017
*/
public static function LoadClass($strClass)
{
//For backward compatibilities
}
/**
* public function LoadThirdParty
* @access public
* @param string $strClass
* @return void
* @deprecated 08-04-2017
*/
public static function LoadThirdParty($strClass)
{
//For backward compatibilities
}
/** /**
* is_https * is_https
* @return bool * @return bool

View File

@@ -133,10 +133,6 @@ function ellipsis ($text, $numb)
function lookinginforContentProcess ($sproUid) function lookinginforContentProcess ($sproUid)
{ {
require_once 'classes/model/Content.php';
require_once 'classes/model/Task.php';
require_once 'classes/model/Content.php';
$oContent = new Content(); $oContent = new Content();
///we are looking for a pro title for this process $sproUid ///we are looking for a pro title for this process $sproUid
$oCriteria = new Criteria( 'workflow' ); $oCriteria = new Criteria( 'workflow' );

View File

@@ -198,8 +198,6 @@ class SkinEngine
private function _raw() private function _raw()
{ {
require_once PATH_THIRDPARTY . 'smarty/libs/Smarty.class.php'; // put full path to Smarty.class.php
G::verifyPath ( PATH_SMARTY_C, true ); G::verifyPath ( PATH_SMARTY_C, true );
G::verifyPath ( PATH_SMARTY_CACHE, true ); G::verifyPath ( PATH_SMARTY_CACHE, true );
@@ -322,8 +320,6 @@ class SkinEngine
private function _blank() private function _blank()
{ {
require_once PATH_THIRDPARTY . 'smarty/libs/Smarty.class.php'; // put full path to Smarty.class.php
G::verifyPath(PATH_SMARTY_C, true); G::verifyPath(PATH_SMARTY_C, true);
G::verifyPath(PATH_SMARTY_CACHE, true); G::verifyPath(PATH_SMARTY_CACHE, true);
@@ -350,7 +346,6 @@ class SkinEngine
private function _submenu() private function _submenu()
{ {
require_once PATH_THIRDPARTY . 'smarty/libs/Smarty.class.php'; // put full path to Smarty.class.php
global $G_ENABLE_BLANK_SKIN; global $G_ENABLE_BLANK_SKIN;
//menu //menu
global $G_MAIN_MENU; global $G_MAIN_MENU;
@@ -469,7 +464,6 @@ class SkinEngine
private function _tracker() private function _tracker()
{ {
require_once PATH_THIRDPARTY . 'smarty/libs/Smarty.class.php'; // put full path to Smarty.class.php
global $G_ENABLE_BLANK_SKIN; global $G_ENABLE_BLANK_SKIN;
G::verifyPath ( PATH_SMARTY_C, true ); G::verifyPath ( PATH_SMARTY_C, true );
@@ -761,7 +755,6 @@ class SkinEngine
} }
if (defined('SYS_SYS')) { if (defined('SYS_SYS')) {
require_once ("classes" . PATH_SEP . "class.pmLicenseManager.php");
$pmLicenseManagerO = &pmLicenseManager::getSingleton(); $pmLicenseManagerO = &pmLicenseManager::getSingleton();
$expireIn = $pmLicenseManagerO->getExpireIn(); $expireIn = $pmLicenseManagerO->getExpireIn();
$expireInLabel = $pmLicenseManagerO->getExpireInLabel(); $expireInLabel = $pmLicenseManagerO->getExpireInLabel();