diff --git a/htdocs/core/modules/import/modules_import.php b/htdocs/core/modules/import/modules_import.php index e9e82e7baa7..ce6956b0d0e 100644 --- a/htdocs/core/modules/import/modules_import.php +++ b/htdocs/core/modules/import/modules_import.php @@ -1,6 +1,7 @@ * Copyright (C) 2005-2012 Regis Houssin + * Copyright (C) 2024 MDW * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -118,31 +119,7 @@ class ModeleImports /** * @var array Element mapping from table name */ - public static $mapTableToElement = array( - 'actioncomm' => 'agenda', - 'adherent' => 'member', - 'adherent_type' => 'member_type', - //'bank_account' => 'bank_account', - 'categorie' => 'category', - //'commande' => 'commande', - //'commande_fournisseur' => 'commande_fournisseur', - 'contrat' => 'contract', - 'entrepot' => 'stock', - //'expensereport' => 'expensereport', - 'facture' => 'invoice', - //'facture_fourn' => 'facture_fourn', - 'fichinter' => 'intervention', - //'holiday' => 'holiday', - //'product' => 'product', - 'product_price' => 'productprice', - 'product_fournisseur_price' => 'productsupplierprice', - 'projet' => 'project', - //'propal' => 'propal', - //'societe' => 'societe', - 'socpeople' => 'contact', - //'supplier_proposal' => 'supplier_proposal', - //'ticket' => 'ticket', - ); + public static $mapTableToElement = DEPRECATED_MODULE_MAPPING; /** * Constructor