[-] Installer : deprecated tab removed in the 1.4 > 1.5 upgrade #PSCFV-3564

This commit is contained in:
dMetzger committed 2012-08-08 13:47:01 +00:00
1 parent a3092c2b0c
commit 2b6eb51d5c
3 files changed
+6 -3

No files matched your search

+1 -2
View File
@@ -104,7 +104,7 @@ class LanguageCore extends ObjectModel
} }
/** /**
* Generate traslations files * Generate translations files
* *
*/ */
protected function _generateFiles($newIso = null) protected function _generateFiles($newIso = null)
@@ -130,7 +130,6 @@ class LanguageCore extends ObjectModel
@chmod($path_file, 0777); @chmod($path_file, 0777);
} }
} }
/** /**
@@ -1088,7 +1088,6 @@ class AdminModulesControllerCore extends AdminController
$tpl_vars['nameCountryDefault'] = Country::getNameById($this->context->language->id, Configuration::get('PS_COUNTRY_DEFAULT')); $tpl_vars['nameCountryDefault'] = Country::getNameById($this->context->language->id, Configuration::get('PS_COUNTRY_DEFAULT'));
$tpl_vars['isoCountryDefault'] = $this->iso_default_country; $tpl_vars['isoCountryDefault'] = $this->iso_default_country;
$tpl_vars['addonsUrl'] = 'index.php?tab=AdminAddonsMyAccount&token='.Tools::getAdminTokenLite('AdminAddonsMyAccount');
$tpl_vars['categoryFiltered'] = $categoryFiltered; $tpl_vars['categoryFiltered'] = $categoryFiltered;
$tpl_vars['modules'] = $modules; $tpl_vars['modules'] = $modules;
+5
View File
@@ -3,3 +3,8 @@ SET NAMES 'utf8';
ALTER TABLE `PREFIX_order_detail` ADD `id_shop` INT(11) UNSIGNED NOT NULL AFTER `id_warehouse`, ADD INDEX (`id_shop`); ALTER TABLE `PREFIX_order_detail` ADD `id_shop` INT(11) UNSIGNED NOT NULL AFTER `id_warehouse`, ADD INDEX (`id_shop`);
UPDATE `PREFIX_order_detail` od SET `id_shop`=(SELECT `id_shop` FROM `PREFIX_orders` WHERE `id_order`=od.`id_order`); UPDATE `PREFIX_order_detail` od SET `id_shop`=(SELECT `id_shop` FROM `PREFIX_orders` WHERE `id_order`=od.`id_order`);
DELETE FROM `PREFIX_tab` WHERE `class_name` = 'AdminAddonsMyAccount';
DELETE FROM `PREFIX_tab_lang` WHERE `id_tab` NOT IN (SELECT `id_tab` FROM `PREFIX_tab`);
DELETE FROM `PREFIX_access` WHERE `id_tab` NOT IN (SELECT `id_tab` FROM `PREFIX_tab`);