diff --git a/lib/private/AppConfig.php b/lib/private/AppConfig.php index 71c958703e921..f10684c497179 100644 --- a/lib/private/AppConfig.php +++ b/lib/private/AppConfig.php @@ -1093,6 +1093,7 @@ public function deleteKey(string $app, string $key): void { 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 776cce08d676b..77a86a5e1c75d 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>>> ['user_id' => ['app_id' => ['key' => ['type' => ValueType, 'flags' => bitflag]]]] */ private array $valueDetails = []; // type for all config values - /** @var array>> ['user_id' => ['app_id' => ['key' => bitflag]]] */ - private array $valueTypes = []; // type for all config values - /** @var array>> ['user_id' => ['app_id' => ['key' => bitflag]]] */ - private array $valueFlags = []; // type for all config values /** @var array ['user_id' => bool] */ private array $fastLoaded = []; /** @var array ['user_id' => bool] */ @@ -1511,6 +1507,7 @@ public function deleteUserConfig(string $userId, string $app, string $key): void unset($this->lazyCache[$userId][$app][$key]); unset($this->fastCache[$userId][$app][$key]); + unset($this->valueDetails[$userId][$app][$key]); } /**