aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Steinmetz <richard@steinmetz.cloud>2025-06-19 16:30:34 +0200
committerRichard Steinmetz <richard@steinmetz.cloud>2025-06-19 16:30:34 +0200
commit0531a47a132fc283ca902f4b343a696a6cf94f35 (patch)
tree8f25cb48494f899819bb2954f0a03b297f130d32
parent3bc4e0ff28e4764a02c7ea456c577bf16a3b9062 (diff)
downloadnextcloud-server-fix/allconfig-use-search-case-insensitive.tar.gz
nextcloud-server-fix/allconfig-use-search-case-insensitive.zip
fix: always search config values case insensitivelyfix/allconfig-use-search-case-insensitive
Removes a custom workaroudn present for the key "email" of the "settings" app. Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
-rw-r--r--lib/private/AllConfig.php4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/private/AllConfig.php b/lib/private/AllConfig.php
index 72af6c960a5..ff12cff9be9 100644
--- a/lib/private/AllConfig.php
+++ b/lib/private/AllConfig.php
@@ -404,10 +404,6 @@ class AllConfig implements IConfig {
* @deprecated 31.0.0 - use {@see IUserConfig::searchUsersByValueString} directly
*/
public function getUsersForUserValueCaseInsensitive($appName, $key, $value) {
- if ($appName === 'settings' && $key === 'email') {
- return $this->getUsersForUserValue($appName, $key, strtolower($value));
- }
-
/** @var list<string> $result */
$result = iterator_to_array(\OCP\Server::get(IUserConfig::class)->searchUsersByValueString($appName, $key, $value, true));
return $result;