From cd9f202c8c9358c7e2afbe4ec7eff05d7c91a8db Mon Sep 17 00:00:00 2001 From: aFolletete Date: Fri, 25 May 2012 09:39:49 +0000 Subject: [PATCH] // clean code git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@15680 b9a71923-0436-4b27-9f14-aed3839534dd --- modules/blockcms/blockcms.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/modules/blockcms/blockcms.php b/modules/blockcms/blockcms.php index ae1f49717..1c087e18a 100755 --- a/modules/blockcms/blockcms.php +++ b/modules/blockcms/blockcms.php @@ -54,7 +54,6 @@ class BlockCms extends Module { if (!parent::install() || !$this->registerHooks() || - !$this->registerHook('actionShopDataDuplication') || !BlockCMSModel::createTables() || !Configuration::updateValue('FOOTER_CMS', '') || !Configuration::updateValue('FOOTER_BLOCK_ACTIVATION', 1) || @@ -104,7 +103,6 @@ class BlockCms extends Module { if (!parent::uninstall() || !BlockCMSModel::DropTables() || - !$this->unregisterHook('actionShopDataDuplication') || !Configuration::deleteByName('FOOTER_CMS') || !Configuration::deleteByName('FOOTER_BLOCK_ACTIVATION') || !Configuration::deleteByName('FOOTER_POWEREDBY')) @@ -117,7 +115,7 @@ class BlockCms extends Module { return ( $this->registerHook('leftColumn') && $this->registerHook('rightColumn') && - $this->registerHook('header') && $this->registerHook('footer')); + $this->registerHook('header') && $this->registerHook('footer') && $this->registerHook('actionShopDataDuplication')); } public function initToolbar()