Browse Source

fix(config): drop value details

Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
pull/49645/head
Maxence Lange 11 months ago
committed by Andy Scherzinger
parent
commit
525eb8312b
  1. 1
      lib/private/AppConfig.php
  2. 5
      lib/private/Config/UserConfig.php

1
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]);
}
/**

5
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]);
}
/**

Loading…
Cancel
Save