diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/settings/lib/Hooks.php | 2 |
1 files changed, 1 insertions, 1 deletions
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]); |