// Fixes to installer

This commit is contained in:
tDidierjean committed 2011-12-22 14:22:22 +00:00
1 parent 278bbe5d39
commit 5d165a301d
2 files changed
+11 -5

No files matched your search

+3 -5
View File
@@ -25,9 +25,8 @@
* International Registered Trademark & Property of PrestaShop SA * International Registered Trademark & Property of PrestaShop SA
*/ */
public function migrate_orders()
include('config/config.inc.php'); {
if (!defined('PS_TAX_EXC')) if (!defined('PS_TAX_EXC'))
define('PS_TAX_EXC', 1); define('PS_TAX_EXC', 1);
@@ -102,8 +101,7 @@ foreach ($orders as $order)
unset($order); unset($order);
} }
}
function getCustomerDefaultGroup($id_customer) function getCustomerDefaultGroup($id_customer)
{ {
+8
View File
@@ -149,6 +149,14 @@ require_once(_PS_INSTALLER_PHP_UPGRADE_DIR_.'generate_order_reference.php');
require_once(_PS_INSTALLER_PHP_UPGRADE_DIR_.'migrate_orders.php'); require_once(_PS_INSTALLER_PHP_UPGRADE_DIR_.'migrate_orders.php');
require_once(_PS_INSTALLER_PHP_UPGRADE_DIR_.'add_attribute_position.php');
require_once(_PS_INSTALLER_PHP_UPGRADE_DIR_.'add_group_attribute_position.php');
require_once(_PS_INSTALLER_PHP_UPGRADE_DIR_.'add_feature_position.php');
require_once(_PS_INSTALLER_PHP_UPGRADE_DIR_.'add_default_restrictions_modules_groups.php');
require_once(_PS_INSTALLER_PHP_UPGRADE_DIR_.'add_carrier_position.php');
require_once(_PS_INSTALLER_PHP_UPGRADE_DIR_.'add_new_groups.php');
require_once(_PS_INSTALLER_PHP_UPGRADE_DIR_.'add_stock_tab.php');
//old version detection //old version detection
global $oldversion, $logger; global $oldversion, $logger;
$oldversion = false; $oldversion = false;