diff options
author | Julius Härtl <jus@bitgrid.net> | 2022-12-19 09:50:25 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-19 09:50:25 +0100 |
commit | 884da19198d15a764487e6a6d615968c0e63203d (patch) | |
tree | 62833691596a2a631a9190b02d29ae0e40da60fb | |
parent | e12aaa298861743f798d9adf644d626ac8e89a95 (diff) | |
parent | 6964751ec6e3297d7a61c848cb53689c55778ba0 (diff) | |
download | nextcloud-server-884da19198d15a764487e6a6d615968c0e63203d.tar.gz nextcloud-server-884da19198d15a764487e6a6d615968c0e63203d.zip |
Merge pull request #35177 from nextcloud/fix/noid/bringing-clear-config-back
-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 efaa2209eca..325220823b8 100644 --- a/lib/private/AppConfig.php +++ b/lib/private/AppConfig.php @@ -430,4 +430,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; + } } |