From: Morris Jobke Date: Thu, 13 Aug 2020 11:34:31 +0000 (+0200) Subject: Fix name of app config option to properly reflect what it does X-Git-Tag: v20.0.0beta1~75^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=93ba8faabca71009d39d8e925927b660e288ff24;p=nextcloud-server.git Fix name of app config option to properly reflect what it does Signed-off-by: Morris Jobke --- diff --git a/apps/settings/lib/Hooks.php b/apps/settings/lib/Hooks.php index 78f7e28ed1c..ecb8949f3af 100644 --- a/apps/settings/lib/Hooks.php +++ b/apps/settings/lib/Hooks.php @@ -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]);