Merge pull request #35812 from nextcloud/backport/35177/stable25

[stable25] restoring clearCachedConfig()
This commit is contained in:
Vincent Petry 2023-01-02 11:31:12 +01:00 committed by GitHub
commit a2dd42c1e2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;
}
}