From 8b7564fd01d398d64ee2396118adf2f9aeff8ce0 Mon Sep 17 00:00:00 2001 From: fBrignoli Date: Fri, 6 Jan 2012 14:20:14 +0000 Subject: [PATCH] // debug --- install-dev/php/migrate_orders.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/install-dev/php/migrate_orders.php b/install-dev/php/migrate_orders.php index 125010ef1..49f143fef 100644 --- a/install-dev/php/migrate_orders.php +++ b/install-dev/php/migrate_orders.php @@ -33,9 +33,6 @@ function migrate_orders() if (!defined('PS_TAX_INC')) define('PS_TAX_INC', 0); - Db::getInstance()->execute('DROP TABLE `ps_orders_2`'); - Db::getInstance()->execute('DROP TABLE `ps_order_detail_2`'); - $values_order_detail = array(); $insert_order_detail = 'INSERT INTO `'._DB_PREFIX_.'order_detail_2` (`id_order_detail`, `id_order`, `id_order_invoice`, `id_warehouse`, `product_id`, `product_attribute_id`, `product_name`, `product_quantity`, `product_quantity_in_stock`, `product_quantity_refunded`, `product_quantity_return`, `product_quantity_reinjected`, `product_price`, `reduction_percent`, `reduction_amount`, `reduction_amount_tax_incl`, `reduction_amount_tax_excl`, `group_reduction`, `product_quantity_discount`, `product_ean13`, `product_upc`, `product_reference`, `product_supplier_reference`, `product_weight`, `tax_computation_method`, `tax_name`, `tax_rate`, `ecotax`, `ecotax_tax_rate`, `discount_quantity_applied`, `download_hash`, `download_nb`, `download_deadline`, `total_price_tax_incl`, `total_price_tax_excl`, `unit_price_tax_incl`, `unit_price_tax_excl`, `total_shipping_price_tax_incl`, `total_shipping_price_tax_excl`, `purchase_supplier_price`, `original_product_price`)