[Legacy] Symfony Cache - Update UP and Settings on Locale save

This commit is contained in:
Jack Anderson 2023-11-16 15:00:44 +00:00
parent cb22186312
commit 2a96d76e69

View file

@ -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();
}