Files
drmaterac.pl/modules/pagecache/upgrade/Upgrade-7.4.4.php
2025-03-21 20:24:43 +01:00

29 lines
688 B
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
* @throws Exception
*/
function upgrade_module_7_4_4($module)
{
$ret = true;
if (Tools::version_compare(_PS_VERSION_, '1.7', '<')) {
$ret = $ret && $module->addOverride('Context');
$ret = $ret && $module->upgradeOverride('Dispatcher');
}
$ret = $ret && $module->upgradeOverride('FrontController');
return (bool)$ret;
}