Skip to content
This repository has been archived by the owner on Dec 1, 2020. It is now read-only.

Commit

Permalink
// homeslider cache fix
Browse files Browse the repository at this point in the history
  • Loading branch information
emilien-puget committed Mar 26, 2014
1 parent 965bdcb commit 0f3797e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion config.xml
Expand Up @@ -2,7 +2,7 @@
<module>
<name>homeslider</name>
<displayName><![CDATA[Image slider for your homepage]]></displayName>
<version><![CDATA[1.2.8]]></version>
<version><![CDATA[1.2.9]]></version>
<description><![CDATA[Adds an image slider to your homepage.]]></description>
<author><![CDATA[PrestaShop]]></author>
<tab><![CDATA[front_office_features]]></tab>
Expand Down
6 changes: 3 additions & 3 deletions homeslider.php
Expand Up @@ -42,7 +42,7 @@ public function __construct()
{
$this->name = 'homeslider';
$this->tab = 'front_office_features';
$this->version = '1.2.8';
$this->version = '1.2.9';
$this->author = 'PrestaShop';
$this->need_instance = 0;
$this->secure_key = Tools::encrypt($this->name);
Expand Down Expand Up @@ -470,7 +470,7 @@ public function hookdisplayHeader($params)
'width' => Configuration::get('HOMESLIDER_WIDTH'),
'speed' => Configuration::get('HOMESLIDER_SPEED'),
'pause' => Configuration::get('HOMESLIDER_PAUSE'),
'loop' => Configuration::get('HOMESLIDER_LOOP'),
'loop' => (bool)Configuration::get('HOMESLIDER_LOOP'),
);

$this->smarty->assign('homeslider', $slider);
Expand Down Expand Up @@ -503,7 +503,7 @@ public function hookDisplayHome()

public function clearCache()
{
$this->_clearCache('homeslider.tpl', $this->getCacheId());
$this->_clearCache('homeslider.tpl');
}

public function hookActionShopDataDuplication($params)
Expand Down

0 comments on commit 0f3797e

Please sign in to comment.