mirror of
https://github.com/nextcloud/server.git
synced 2026-06-11 09:42:09 -04:00
Merge pull request #35812 from nextcloud/backport/35177/stable25
[stable25] restoring clearCachedConfig()
This commit is contained in:
commit
a2dd42c1e2
1 changed files with 9 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue