update
This commit is contained in:
23
modules/pagecache/upgrade/Upgrade-7.9.12.php
Normal file
23
modules/pagecache/upgrade/Upgrade-7.9.12.php
Normal file
@@ -0,0 +1,23 @@
|
||||
<?php
|
||||
/**
|
||||
* Page Cache Ultimate, Page Cache standard and Speed pack are powered by Jpresta (jpresta . com)
|
||||
*
|
||||
* @author Jpresta
|
||||
* @copyright Jpresta
|
||||
* @license See the license of this module in file LICENSE.txt, thank you.
|
||||
*/
|
||||
|
||||
if (!defined('_PS_VERSION_')) {exit;}
|
||||
|
||||
/**
|
||||
* @var $module Jprestaspeedpack
|
||||
* @return bool
|
||||
*/
|
||||
function upgrade_module_7_9_12($module)
|
||||
{
|
||||
$ret = true;
|
||||
if (strpos(Configuration::get('pagecache_product_a_mods'), 'sthomenew') === false) {
|
||||
Configuration::updateValue('pagecache_product_a_mods', Configuration::get('pagecache_product_a_mods') . ' sthomenew', false, null, null);
|
||||
}
|
||||
return (bool)$ret;
|
||||
}
|
||||
Reference in New Issue
Block a user