From 8f72e1644459b582abebc44a03d6fdaae83e3864 Mon Sep 17 00:00:00 2001 From: Maxime Kohlhaas Date: Wed, 10 Jul 2013 15:34:36 +0200 Subject: [PATCH] Remove duplicate code --- htdocs/admin/commande.php | 8 -------- 1 file changed, 8 deletions(-) diff --git a/htdocs/admin/commande.php b/htdocs/admin/commande.php index bc586140250..cdcd9008c58 100644 --- a/htdocs/admin/commande.php +++ b/htdocs/admin/commande.php @@ -200,14 +200,6 @@ else if ($action=='setModuleOptions') { $conf->global->COMMANDE_ADDON_PDF_ODT_PATH = GETPOST('value1'); } } -else if ($action=='setModuleOptions') { - if (dolibarr_set_const($db, "COMMANDE_ADDON_PDF_ODT_PATH",GETPOST('value1'),'chaine',0,'',$conf->entity)) - { - // La constante qui a ete lue en avant du nouveau set - // on passe donc par une variable pour avoir un affichage coherent - $conf->global->COMMANDE_ADDON_PDF_ODT_PATH = GETPOST('value1'); - } -} /*