Skip to content

Commit

Permalink
Fix the warning appearing check setup when mail_smtpmode is not confi…
Browse files Browse the repository at this point in the history
…gured.

Closes nextcloud#11107
  • Loading branch information
pachulo committed Nov 10, 2018
1 parent cc96b93 commit ea10c6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion settings/Controller/CheckSetupController.php
Original file line number Diff line number Diff line change
Expand Up @@ -530,7 +530,7 @@ protected function getCronErrors() {
}

protected function isPhpMailerUsed(): bool {
return $this->config->getSystemValue('mail_smtpmode', 'php') === 'php';
return $this->config->getSystemValue('mail_smtpmode') === 'php';
}

protected function hasOpcacheLoaded(): bool {
Expand Down

0 comments on commit ea10c6a

Please sign in to comment.