mirror of
https://github.com/SuiteCRM/SuiteCRM-Core.git
synced 2025-09-02 08:09:19 +08:00
[Legacy] Symfony Cache - Update UP and Settings on Locale save
This commit is contained in:
parent
cb22186312
commit
2a96d76e69
1 changed files with 3 additions and 0 deletions
|
@ -76,6 +76,9 @@ if (isset($_REQUEST['process']) && $_REQUEST['process'] == 'true') {
|
|||
}
|
||||
$cfg->populateFromPost();
|
||||
$cfg->handleOverride();
|
||||
require_once "include/portability/Services/Cache/CacheManager.php";
|
||||
(new CacheManager())->markAsNeedsUpdate('app-metadata-system-configs');
|
||||
(new CacheManager())->markAsNeedsUpdate('app-metadata-user-preferences-' . $current_user->id);
|
||||
if ($locale->invalidLocaleNameFormatUpgrade()) {
|
||||
$locale->removeInvalidLocaleNameFormatUpgradeNotice();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue