Removed old deprecated code

This commit is contained in:
Laurent Destailleur 2009-08-04 11:32:22 +00:00
parent 64a2b4c39b
commit b729b14624

View File

@ -1497,6 +1497,7 @@ function migrate_price_commande_fournisseur($db,$langs,$conf)
$db->free($resql); $db->free($resql);
/*
$sql = "DELETE FROM ".MAIN_DB_PREFIX."commande_fournisseurdet"; $sql = "DELETE FROM ".MAIN_DB_PREFIX."commande_fournisseurdet";
$sql.= " WHERE subprice = 0 and total_ttc = 0 and total_tva = 0 and total_ht = 0"; $sql.= " WHERE subprice = 0 and total_ttc = 0 and total_tva = 0 and total_ht = 0";
$resql=$db->query($sql); $resql=$db->query($sql);
@ -1504,6 +1505,7 @@ function migrate_price_commande_fournisseur($db,$langs,$conf)
{ {
dol_print_error($db); dol_print_error($db);
} }
*/
$db->commit(); $db->commit();
} }