mirror of
https://github.com/SuiteCRM/SuiteCRM-Core.git
synced 2025-09-13 01:04:24 +08:00
[Legacy] Symfony Cache - clear core cache on upgrade
This commit is contained in:
parent
2a96d76e69
commit
a45afb6187
2 changed files with 2 additions and 0 deletions
|
@ -629,6 +629,7 @@ if ($upgradeType == constant('DCE_INSTANCE')) {
|
|||
$rac = new RepairAndClear();
|
||||
$rac->clearVardefs();
|
||||
$rac->rebuildExtensions();
|
||||
$rac->clearCoreCache();
|
||||
|
||||
$repairedTables = array();
|
||||
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue