Files
2025-06-24 14:14:35 +02:00

34 lines
1.0 KiB
PHP

<?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_5_0($module)
{
$ret = true;
$module->updateCacheKeyForCountries();
JprestaUtils::dbExecuteSQL('ALTER TABLE `' . _DB_PREFIX_ . PageCacheDAO::TABLE . '` DROP COLUMN `mask_country`');
$module->registerHook('actionObjectSpecificPriceDeleteAfter');
$module->registerHook('actionObjectSpecificPriceRuleAddAfter');
$module->registerHook('actionObjectSpecificPriceRuleUpdateAfter');
$module->registerHook('actionObjectSpecificPriceRuleDeleteAfter');
$module->registerHook('actionObjectCartRuleAddAfter');
$module->registerHook('actionObjectCartRuleUpdateAfter');
$module->registerHook('actionObjectCartRuleDeleteAfter');
return (bool)$ret;
}