Fix name of app config option to properly reflect what it does

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
pull/22235/head
Morris Jobke 2020-08-13 13:34:31 +07:00
parent 89f92e3c22
commit 93ba8faabc
No known key found for this signature in database
GPG Key ID: FE03C3A163FEDE68
1 changed files with 1 additions and 1 deletions

@ -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]);