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 #11107
  • Loading branch information
pachulo authored and MorrisJobke committed Nov 19, 2018
1 parent 3ba18ce commit 1d15fb1
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 @@ -529,7 +529,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 1d15fb1

Please sign in to comment.