diff options
-rw-r--r-- | core/Migrations/Version24000Date20211210141942.php | 2 | ||||
-rw-r--r-- | lib/private/AllConfig.php | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/core/Migrations/Version24000Date20211210141942.php b/core/Migrations/Version24000Date20211210141942.php index fb9003457b2..ea85e331d55 100644 --- a/core/Migrations/Version24000Date20211210141942.php +++ b/core/Migrations/Version24000Date20211210141942.php @@ -55,7 +55,7 @@ class Version24000Date20211210141942 extends SimpleMigrationStep { $update->update('preferences') ->set('configvalue', $update->func()->lower('configvalue')) - ->where($update->expr()->eq('appid', $update->createNamedParameter('core'))) + ->where($update->expr()->eq('appid', $update->createNamedParameter('settings'))) ->andWhere($update->expr()->eq('configkey', $update->createNamedParameter('email'))); $update->executeStatement(); 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)); } |