[Legacy] Symfony Cache - clear core cache on upgrade

This commit is contained in:
Jack Anderson 2023-11-16 15:01:24 +00:00
parent 2a96d76e69
commit a45afb6187
2 changed files with 2 additions and 0 deletions

View file

@ -629,6 +629,7 @@ if ($upgradeType == constant('DCE_INSTANCE')) {
$rac = new RepairAndClear();
$rac->clearVardefs();
$rac->rebuildExtensions();
$rac->clearCoreCache();

$repairedTables = array();


View file

@ -386,6 +386,7 @@ require_once 'modules/Administration/QuickRepairAndRebuild.php';
$rac = new RepairAndClear();
$rac->clearVardefs();
$rac->rebuildExtensions();
$rac->clearCoreCache();
//bug: 44431 - defensive check to ensure the method exists since upgrades to 6.2.0 may not have this method define yet.
if (method_exists($rac, 'clearExternalAPICache')) {
$rac->clearExternalAPICache();