From d93415cfadb65ffb009363bdaa7986de9f3c80a1 Mon Sep 17 00:00:00 2001 From: mMarinetti Date: Mon, 12 Dec 2011 10:35:18 +0000 Subject: [PATCH] // module editorial hooks name git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@11114 b9a71923-0436-4b27-9f14-aed3839534dd --- modules/editorial/editorial.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/editorial/editorial.php b/modules/editorial/editorial.php index 20a537051..68b89ad99 100644 --- a/modules/editorial/editorial.php +++ b/modules/editorial/editorial.php @@ -50,7 +50,7 @@ class Editorial extends Module public function install() { - if (!parent::install() OR !$this->registerHook('home') OR !$this->registerHook('header')) + if (!parent::install() OR !$this->registerHook('displayHome') OR !$this->registerHook('displayHeader')); return false; if (!Db::getInstance()->execute(' @@ -290,7 +290,7 @@ class Editorial extends Module '; } - public function hookHome($params) + public function hookDisplayHome($params) { $editorial = new EditorialClass(1, $this->context->language->id); @@ -306,7 +306,7 @@ class Editorial extends Module return $this->display(__FILE__, 'editorial.tpl'); } - public function hookHeader() + public function hookDisplayHeader() { $this->context->controller->addCSS(($this->_path).'editorial.css', 'all'); }