download all files

This commit is contained in:
Roman Pyrih
2025-06-24 14:14:35 +02:00
parent ebed09c00b
commit 4c71b5d9c2
72007 changed files with 10407727 additions and 40029 deletions

View File

@@ -0,0 +1,30 @@
<?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_28($module)
{
$ret = true;
$moduleIds = [];
foreach ($module->getModulesToCheck() as $moduleToCheck) {
$moduleIds[] = (int) Module::getModuleIdByName($moduleToCheck);
}
if (count($moduleIds) > 0) {
JprestaUtils::dbExecuteSQL('DELETE FROM `' . _DB_PREFIX_ . PageCacheDAO::TABLE_MODULE . '` WHERE `id_module` NOT IN (' . implode(',',
$moduleIds) . ');');
}
return (bool)$ret;
}