This commit is contained in:
Paula Quispe
2017-09-12 14:42:10 -04:00
parent 8699650919
commit 2bbad9904b

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
}