From 2f46cda600815294800613fc1941bdbb029e57fe Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Mon, 20 Apr 2009 21:31:46 +0000 Subject: [PATCH] Fix: Removed deprecated code --- htdocs/install/etape2.php | 46 --------------------------------------- 1 file changed, 46 deletions(-) diff --git a/htdocs/install/etape2.php b/htdocs/install/etape2.php index aacc4595003..f491130366a 100644 --- a/htdocs/install/etape2.php +++ b/htdocs/install/etape2.php @@ -443,52 +443,6 @@ if ($_POST["action"] == "set") } - /*************************************************************************************** - * - * Les variables qui ecrase le chemin par defaut sont redefinies - * - ***************************************************************************************/ - if ($ok == 1) - { - $sql[0] = "UPDATE llx_const SET value = '".$dolibarr_main_data_root."/facture', - type = 'chaine', - visible = 0 - where name ='FAC_OUTPUTDIR';" ; - - $sql[1] = "UPDATE llx_const SET value = '".$dolibarr_main_data_root."/propale', - type = 'chaine', - visible = 0 - where name = 'PROPALE_OUTPUTDIR';" ; - - $sql[2] = "UPDATE llx_const SET value = '".$dolibarr_main_data_root."/ficheinter', - type = 'chaine', - visible = 0 - where name = 'FICHEINTER_OUTPUTDIR';" ; - - $sql[3] = "UPDATE llx_const SET value='".$dolibarr_main_data_root."/societe', - type = 'chaine', - visible = 0 - where name = 'SOCIETE_OUTPUTDIR';" ; - - $sql[4] = "DELETE from llx_const where name like '%_OUTPUT_URL';"; - - $sql[5] = "UPDATE llx_const SET value='".$langs->defaultlang."', - type = 'chaine', - visible = 0 - where name = 'MAIN_LANG_DEFAULT';" ; - - $result = 0; - - for ($i=0; $i < sizeof($sql);$i++) - { - if ($db->query($sql[$i])) - { - $result++; - } - } - - } - print ''; $db->close();