Merge pull request #22235 from nextcloud/fix/22217/fix-naming-of-app-config-option

Fix name of app config option to properly reflect what it does
This commit is contained in:
Morris Jobke 2020-08-13 14:49:01 +02:00 committed by GitHub
commit ed46115593
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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