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>
This commit is contained in:
dems54 2021-01-27 17:47:44 +01:00 committed by Nicolas SIMIDE
parent 0a8d9341dd
commit 1427a9a361
1 changed files with 1 additions and 2 deletions

View File

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