//small fix

This commit is contained in:
Vincent Augagneur
2013-07-01 16:40:08 +02:00
parent 09359d011f
commit a519f4a7cb
15 changed files with 53 additions and 16 deletions
+1 -1
View File
@@ -36,7 +36,7 @@ class BlockSpecials extends Module
{
$this->name = 'blockspecials';
$this->tab = 'pricing_promotion';
$this->version = '1.0';
$this->version = '0.9';
$this->author = 'PrestaShop';
$this->need_instance = 0;
+1 -1
View File
@@ -2,7 +2,7 @@
<module>
<name>blockspecials</name>
<displayName><![CDATA[Specials block]]></displayName>
<version><![CDATA[1.0]]></version>
<version><![CDATA[0.9]]></version>
<description><![CDATA[Adds a block displaying current product specials.]]></description>
<author><![CDATA[PrestaShop]]></author>
<tab><![CDATA[pricing_promotion]]></tab>
@@ -0,0 +1,10 @@
<?php
if (!defined('_PS_VERSION_'))
exit;
function upgrade_module_0_9($object)
{
Configuration::updateValue('BLOCKSPECIALS_NB_CACHES', 20);
return ($object->registerHook('addproduct') && $object->registerHook('updateproduct') && $object->registerHook('deleteproduct'));
}