]> source.dussan.org Git - nextcloud-server.git/commitdiff
Fix name of app config option to properly reflect what it does 22235/head
authorMorris Jobke <hey@morrisjobke.de>
Thu, 13 Aug 2020 11:34:31 +0000 (13:34 +0200)
committerMorris Jobke <hey@morrisjobke.de>
Thu, 13 Aug 2020 11:34:31 +0000 (13:34 +0200)
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
apps/settings/lib/Hooks.php

index 78f7e28ed1ca0a7959c4a8e8ffd0cece55d59640..ecb8949f3af273e05c222fd8beab15a78ef07423 100644 (file)
@@ -182,7 +182,7 @@ class Hooks {
                        $event->setAuthor($actor->getUID())
                                ->setSubject($subject);
                } else {
-                       if ($this->config->getAppValue('settings', 'disable_email.email_address_changed_by_admin', 'no') === 'yes') {
+                       if ($this->config->getAppValue('settings', 'disable_activity.email_address_changed_by_admin', 'no') === 'yes') {
                                return;
                        }
                        $text = $l->t('Your email address on %s was changed by an administrator.', [$instanceUrl]);