// Fixed #PSFV-626
This commit is contained in:
@@ -108,7 +108,7 @@ class HomeSlider extends Module
|
|||||||
public function uninstall()
|
public function uninstall()
|
||||||
{
|
{
|
||||||
/* Deletes Module */
|
/* Deletes Module */
|
||||||
if (parent::uninstall() && $this->unregisterHook('home') && $this->unregisterHook('header'))
|
if (parent::uninstall() && $this->unregisterHook('displayHome') && $this->unregisterHook('displayHeader'))
|
||||||
{
|
{
|
||||||
/* Deletes tables */
|
/* Deletes tables */
|
||||||
$res = $this->deleteTables();
|
$res = $this->deleteTables();
|
||||||
@@ -628,14 +628,14 @@ class HomeSlider extends Module
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function hookHome()
|
public function hookDisplayHome()
|
||||||
{
|
{
|
||||||
if(!$this->_prepareHook())
|
if(!$this->_prepareHook())
|
||||||
return;
|
return;
|
||||||
return $this->display(__FILE__, 'homeslider.tpl');
|
return $this->display(__FILE__, 'homeslider.tpl');
|
||||||
}
|
}
|
||||||
|
|
||||||
public function hookHeader()
|
public function hookDisplayHeader()
|
||||||
{
|
{
|
||||||
if (!$this->getSlides(true))
|
if (!$this->getSlides(true))
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in New Issue
Block a user