summaryrefslogtreecommitdiffstats
path: root/lib/private/AllConfig.php
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2021-12-10 18:30:46 +0100
committerChristopher Ng <chrng8@gmail.com>2021-12-13 19:20:10 +0000
commitc92ac3471166f2697db1d9a696e31d0c06ac2e64 (patch)
tree96914d40cfa6bf77111af86f5a59292a6e46f9b1 /lib/private/AllConfig.php
parent0877d62c47096c72ebad1207adfd9c7a4d39d978 (diff)
downloadnextcloud-server-c92ac3471166f2697db1d9a696e31d0c06ac2e64.tar.gz
nextcloud-server-c92ac3471166f2697db1d9a696e31d0c06ac2e64.zip
Use proper app id (settings instead of core)
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'lib/private/AllConfig.php')
-rw-r--r--lib/private/AllConfig.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/AllConfig.php b/lib/private/AllConfig.php
index 4e7ec7554f7..ac2f9d7bf45 100644
--- a/lib/private/AllConfig.php
+++ b/lib/private/AllConfig.php
@@ -260,7 +260,7 @@ class AllConfig implements \OCP\IConfig {
// TODO - FIXME
$this->fixDIInit();
- if ($appName === 'core' && $key === 'email') {
+ if ($appName === 'settings' && $key === 'email') {
$value = strtolower((string) $value);
}
@@ -518,7 +518,7 @@ class AllConfig implements \OCP\IConfig {
// TODO - FIXME
$this->fixDIInit();
- if ($appName === 'core' && $key === 'email') {
+ if ($appName === 'settings' && $key === 'email') {
// Email address is always stored lowercase in the database
return $this->getUsersForUserValue($appName, $key, strtolower($value));
}