diff options
author | Maxence Lange <maxence@artificial-owl.com> | 2022-11-15 11:08:20 -0100 |
---|---|---|
committer | Maxence Lange <maxence@artificial-owl.com> | 2022-11-15 11:08:20 -0100 |
commit | 6964751ec6e3297d7a61c848cb53689c55778ba0 (patch) | |
tree | 44e7d8d99a8db73aba9d16e1a5c84b7f5f8adbd2 /lib/private/AppConfig.php | |
parent | a57762576728d4bea0ed709ad10fd8e2666aaf28 (diff) | |
download | nextcloud-server-6964751ec6e3297d7a61c848cb53689c55778ba0.tar.gz nextcloud-server-6964751ec6e3297d7a61c848cb53689c55778ba0.zip |
restoring clearCachedConfig()
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
Diffstat (limited to 'lib/private/AppConfig.php')
-rw-r--r-- | lib/private/AppConfig.php | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/private/AppConfig.php b/lib/private/AppConfig.php index 708b31b3136..79c27e9d320 100644 --- a/lib/private/AppConfig.php +++ b/lib/private/AppConfig.php @@ -427,4 +427,13 @@ class AppConfig implements IAppConfig { $this->configLoaded = true; } + + + /** + * Clear all the cached app config values + * New cache will be generated next time a config value is retrieved + */ + public function clearCachedConfig(): void { + $this->configLoaded = false; + } } |