summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2020-08-13 13:34:31 +0200
committerMorris Jobke <hey@morrisjobke.de>2020-08-13 13:34:31 +0200
commit93ba8faabca71009d39d8e925927b660e288ff24 (patch)
tree7f14307622ba0b7fd81631110f76633743968462 /apps
parent89f92e3c2267f85aeb37714b5a5a1b7985e84c7d (diff)
downloadnextcloud-server-93ba8faabca71009d39d8e925927b660e288ff24.tar.gz
nextcloud-server-93ba8faabca71009d39d8e925927b660e288ff24.zip
Fix name of app config option to properly reflect what it does
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'apps')
-rw-r--r--apps/settings/lib/Hooks.php2
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]);