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:
commit
ed46115593
|
@ -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]);
|
||||
|
|
Loading…
Reference in New Issue