Merged in bugfix/HOR-3850 (pull request #6049)

HOR-3850

Approved-by: Julio Cesar Laura Avendaño <contact@julio-laura.com>
This commit is contained in:
Paula Quispe
2017-09-15 14:18:25 +00:00
committed by Julio Cesar Laura Avendaño

View File

@@ -61,17 +61,23 @@ class G
];
/**
* @deprecated 3.2.2, We keep this function only for backwards compatibility because is used in the plugin manager
* This function verify if exist file name in the PATH_GULLIVER
* @param string $strClass
* @return boolean
*/
public static function LoadSystem($strClass)
public function LoadSystemExist($strClass)
{
//For backward compatibilities
if (file_exists( PATH_GULLIVER . 'class.' . $strClass . '.php' )) {
return true;
} else {
return false;
}
}
/**
* @deprecated 3.2.2, We keep this function only for backwards compatibility because is used in the plugin manager
*/
public function LoadSystemExist($strClass)
public static function LoadSystem($strClass)
{
//For backward compatibilities
}