mirror of
https://github.com/SuiteCRM/SuiteCRM-Core.git
synced 2025-09-02 08:09:19 +08:00
[Legacy] Symfony Cache - Update Languages after save
This commit is contained in:
parent
133724db10
commit
0cb82300ea
1 changed files with 2 additions and 0 deletions
|
@ -86,6 +86,8 @@ class AdministrationController extends SugarController
|
|||
$cfg->config['disabled_languages'] = implode(',', $disabled_langs);
|
||||
// TODO: find way to enforce order
|
||||
$cfg->handleOverride();
|
||||
require_once "include/portability/Services/Cache/CacheManager.php";
|
||||
(new CacheManager())->markAsNeedsUpdate('app-metadata-language-strings');
|
||||
header("Location: index.php?module=Administration&action=Languages");
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue