mirror of
https://github.com/Piwigo/Piwigo.git
synced 2025-04-25 10:49:58 +03:00
upgrade, init persistent_cache for invalidate_user_cache
This commit is contained in:
parent
fd5a73d676
commit
6f70e6e9aa
1 changed files with 5 additions and 0 deletions
|
@ -499,6 +499,11 @@ REPLACE INTO '.PLUGINS_TABLE.'
|
|||
}
|
||||
|
||||
// Delete cache data
|
||||
include(PHPWG_ROOT_PATH . 'include/cache.class.php');
|
||||
|
||||
// invalidate_user_cache will purge persistent_cache so it needs to be instantiated first
|
||||
$persistent_cache = new PersistentFileCache();
|
||||
|
||||
invalidate_user_cache(true);
|
||||
$template->delete_compiled_templates();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue