// clean code
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@15680 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user