// Fixed #PSFV-626
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@13887 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -108,7 +108,7 @@ class HomeSlider extends Module
|
||||
public function uninstall()
|
||||
{
|
||||
/* Deletes Module */
|
||||
if (parent::uninstall() && $this->unregisterHook('home') && $this->unregisterHook('header'))
|
||||
if (parent::uninstall() && $this->unregisterHook('displayHome') && $this->unregisterHook('displayHeader'))
|
||||
{
|
||||
/* Deletes tables */
|
||||
$res = $this->deleteTables();
|
||||
@@ -628,14 +628,14 @@ class HomeSlider extends Module
|
||||
return true;
|
||||
}
|
||||
|
||||
public function hookHome()
|
||||
public function hookDisplayHome()
|
||||
{
|
||||
if(!$this->_prepareHook())
|
||||
return;
|
||||
return $this->display(__FILE__, 'homeslider.tpl');
|
||||
}
|
||||
|
||||
public function hookHeader()
|
||||
public function hookDisplayHeader()
|
||||
{
|
||||
if (!$this->getSlides(true))
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user