diff options
author | Maxence Lange <maxence@artificial-owl.com> | 2025-01-27 16:54:20 -0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-27 16:54:20 -0100 |
commit | c483a84e9b491add24831041fea4b3ca047fc086 (patch) | |
tree | 26c952db4eeeabd616db47109b32d6f46ca16c4e | |
parent | 58eb0b91e9789517370d7716998565472d16ddba (diff) | |
parent | 525eb8312b579a7a8e6bfdb331b0c3d45e4e7feb (diff) | |
download | nextcloud-server-c483a84e9b491add24831041fea4b3ca047fc086.tar.gz nextcloud-server-c483a84e9b491add24831041fea4b3ca047fc086.zip |
Merge pull request #49645 from nextcloud/fix/noid/clean-config-code
fix(config): drop value details
-rw-r--r-- | lib/private/AppConfig.php | 1 | ||||
-rw-r--r-- | lib/private/Config/UserConfig.php | 5 |
2 files changed, 2 insertions, 4 deletions
diff --git a/lib/private/AppConfig.php b/lib/private/AppConfig.php index 71c958703e9..f10684c4971 100644 --- a/lib/private/AppConfig.php +++ b/lib/private/AppConfig.php @@ -1093,6 +1093,7 @@ class AppConfig implements IAppConfig { unset($this->lazyCache[$app][$key]); unset($this->fastCache[$app][$key]); + unset($this->valueTypes[$app][$key]); } /** diff --git a/lib/private/Config/UserConfig.php b/lib/private/Config/UserConfig.php index 776cce08d67..77a86a5e1c7 100644 --- a/lib/private/Config/UserConfig.php +++ b/lib/private/Config/UserConfig.php @@ -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]); } /** |