aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorMaxence Lange <maxence@artificial-owl.com>2024-12-04 12:25:49 -0100
committerAndy Scherzinger <info@andy-scherzinger.de>2025-01-26 12:59:04 +0100
commit525eb8312b579a7a8e6bfdb331b0c3d45e4e7feb (patch)
treed72e07497d618b74ab03f26111980eb2e01e37e8 /lib
parent6b6401f9c8a82bd1ed66477043677e23a1e97dd3 (diff)
downloadnextcloud-server-525eb8312b579a7a8e6bfdb331b0c3d45e4e7feb.tar.gz
nextcloud-server-525eb8312b579a7a8e6bfdb331b0c3d45e4e7feb.zip
fix(config): drop value detailsfix/noid/clean-config-code
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/private/AppConfig.php1
-rw-r--r--lib/private/Config/UserConfig.php5
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]);
}
/**