mirror of
https://github.com/SuiteCRM/SuiteCRM-Core.git
synced 2025-09-02 08:09:19 +08:00
[Legacy] Symfony Cache - Update After UP save
This commit is contained in:
parent
33145a396a
commit
bb12b60e8f
1 changed files with 5 additions and 0 deletions
|
@ -1012,6 +1012,11 @@ class User extends Person implements EmailInterface
|
|||
require_once 'modules/Users/GeneratePassword.php';
|
||||
}
|
||||
}
|
||||
require_once "include/portability/Services/Cache/CacheManager.php";
|
||||
$cacheManager = new CacheManager();
|
||||
$cacheManager->markAsNeedsUpdate('app-metadata-navigation-'.$this->id);
|
||||
$cacheManager->markAsNeedsUpdate('app-metadata-user-preferences-'.$this->id);
|
||||
$cacheManager->markAsNeedsUpdate('app-metadata-theme-images');
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue