mirror of
https://github.com/nextcloud/server.git
synced 2026-03-21 18:11:02 -04:00
fix(config): drop value details
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
This commit is contained in:
parent
6b6401f9c8
commit
525eb8312b
2 changed files with 2 additions and 4 deletions
|
|
@ -1093,6 +1093,7 @@ class AppConfig implements IAppConfig {
|
|||
|
||||
unset($this->lazyCache[$app][$key]);
|
||||
unset($this->fastCache[$app][$key]);
|
||||
unset($this->valueTypes[$app][$key]);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -58,10 +58,6 @@ class UserConfig implements IUserConfig {
|
|||
private array $lazyCache = []; // cache for lazy config keys
|
||||
/** @var array<string, array<string, array<string, array<string, mixed>>>> ['user_id' => ['app_id' => ['key' => ['type' => ValueType, 'flags' => bitflag]]]] */
|
||||
private array $valueDetails = []; // type for all config values
|
||||
/** @var array<string, array<string, array<string, ValueType>>> ['user_id' => ['app_id' => ['key' => bitflag]]] */
|
||||
private array $valueTypes = []; // type for all config values
|
||||
/** @var array<string, array<string, array<string, int>>> ['user_id' => ['app_id' => ['key' => bitflag]]] */
|
||||
private array $valueFlags = []; // type for all config values
|
||||
/** @var array<string, boolean> ['user_id' => bool] */
|
||||
private array $fastLoaded = [];
|
||||
/** @var array<string, boolean> ['user_id' => bool] */
|
||||
|
|
@ -1511,6 +1507,7 @@ class UserConfig implements IUserConfig {
|
|||
|
||||
unset($this->lazyCache[$userId][$app][$key]);
|
||||
unset($this->fastCache[$userId][$app][$key]);
|
||||
unset($this->valueDetails[$userId][$app][$key]);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue