diff options
author | dems54 <2083596+dems54@users.noreply.github.com> | 2021-01-27 17:47:44 +0100 |
---|---|---|
committer | Nicolas SIMIDE <2083596+dems54@users.noreply.github.com> | 2021-01-28 15:57:29 +0100 |
commit | 1427a9a361d9e8881872cda2bc9e10bd34bb83a0 (patch) | |
tree | 998f46c0687bf8e753dae616586ac73f19628415 /apps/sharebymail/lib | |
parent | 0a8d9341ddfa0e5bb7a3f4732cdddbaef3cfbad0 (diff) | |
download | nextcloud-server-1427a9a361d9e8881872cda2bc9e10bd34bb83a0.tar.gz nextcloud-server-1427a9a361d9e8881872cda2bc9e10bd34bb83a0.zip |
Update apps/sharebymail/lib/Settings/SettingsManager.php
Small nitpicks
Co-authored-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Nicolas SIMIDE <2083596+dems54@users.noreply.github.com>
Diffstat (limited to 'apps/sharebymail/lib')
-rw-r--r-- | apps/sharebymail/lib/Settings/SettingsManager.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/sharebymail/lib/Settings/SettingsManager.php b/apps/sharebymail/lib/Settings/SettingsManager.php index 72b7a4e2998..8e4ab4de038 100644 --- a/apps/sharebymail/lib/Settings/SettingsManager.php +++ b/apps/sharebymail/lib/Settings/SettingsManager.php @@ -70,7 +70,6 @@ class SettingsManager { * @return bool */ public function replyToInitiator(): bool { - $replyToInitiator = $this->config->getAppValue('sharebymail', 'replyToInitiator', $this->replyToInitiator); - return $replyToInitiator === 'yes'; + return $this->config->getAppValue('sharebymail', 'replyToInitiator', $this->replyToInitiatorDefault); } } |