From 6cf07e30fc1671a070ce28aa1925f4dcee142efd Mon Sep 17 00:00:00 2001 From: Nestor <npegane@hotmail.com> Date: Mon, 30 Jul 2018 09:52:23 +0200 Subject: [PATCH] Removed custom for datbase version --- .../class/class_business_app_tools_Abstract.php | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/apps/maarch_entreprise/class/class_business_app_tools_Abstract.php b/apps/maarch_entreprise/class/class_business_app_tools_Abstract.php index 12e17484004..5ebdcdd7be8 100755 --- a/apps/maarch_entreprise/class/class_business_app_tools_Abstract.php +++ b/apps/maarch_entreprise/class/class_business_app_tools_Abstract.php @@ -603,19 +603,7 @@ abstract class business_app_tools_Abstract extends Database { // Compare version value beetwen version base xml file and version base // value in the database - if (file_exists( - $_SESSION['config']['corepath'] . 'custom' . DIRECTORY_SEPARATOR - . $_SESSION['custom_override_id'] . DIRECTORY_SEPARATOR - . $xmlVersionBase - ) - ) { - $path = $_SESSION['config']['corepath'] . 'custom' - . DIRECTORY_SEPARATOR . $_SESSION['custom_override_id'] - . DIRECTORY_SEPARATOR . $xmlVersionBase; - } else { - $path = $xmlVersionBase; - } - $xmlBase = simplexml_load_file($path); + $xmlBase = simplexml_load_file($xmlVersionBase); //Find value in the xml database_version tag if ($xmlBase) { $_SESSION['maarch_entreprise'] -- GitLab