diff --git a/htdocs/admin/produit.php b/htdocs/admin/produit.php
index dcb8b6f94c2..0d03e3f7726 100644
--- a/htdocs/admin/produit.php
+++ b/htdocs/admin/produit.php
@@ -134,20 +134,6 @@ else if ($_GET["action"] == 'disable_sousproduits')
exit;
}
-// Multilangs
-if ($_GET['action'] == 'enable_multilangs')
-{
- dolibarr_set_const($db, "PRODUIT_MULTILANGS", "1");
- Header("Location: produit.php");
-
-}
-else if ($_GET['action'] == 'disable_multilangs')
-{
- dolibarr_del_const($db, "PRODUIT_MULTILANGS");
- Header("Location: produit.php");
- exit;
-}
-
/*
* Affiche page
@@ -225,6 +211,7 @@ if($conf->global->PRODUIT_MULTIPRICES == 1)
print '';
print '';
}
+
// sousproduits activation/desactivation
print '
';
print '
| '.$langs->trans("Name").' | '; -print ''; -print ' | '.$langs->trans("Active").' | '; -print "
| '.$langs->trans("MultilangsAbility").' | '; -print ''; -if($conf->global->PRODUIT_MULTILANGS == 1) - print img_tick(); -print ' | '; -print ""; -if($conf->global->PRODUIT_MULTILANGS == 0) -print ''.$langs->trans("Activate").''; -else if($conf->global->PRODUIT_MULTILANGS == 1) - print ''.$langs->trans("Disable").''; -print " | "; -print '