aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaxence Lange <maxence@artificial-owl.com>2024-12-04 12:25:49 -0100
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>2025-01-27 17:55:29 +0000
commit578b4ba0eeab7b026cc99e7c3f3dce3231dd36ee (patch)
treed391563d077b4322ef005ff29efa93f3c313b519
parent7b3daafad3e6ac4908e2ca6e645be6c352f02301 (diff)
downloadnextcloud-server-578b4ba0eeab7b026cc99e7c3f3dce3231dd36ee.tar.gz
nextcloud-server-578b4ba0eeab7b026cc99e7c3f3dce3231dd36ee.zip
fix(config): drop value detailsbackport/49645/stable31
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
-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]);
}
/**