Fix the warning appearing check setup when mail_smtpmode is not configured.

Closes #11107
This commit is contained in:
Marc Peña Segarra 2018-11-11 00:55:41 +01:00
parent cc96b93f95
commit ea10c6a141
1 changed files with 1 additions and 1 deletions

View File

@ -530,7 +530,7 @@ Raw output
} }
protected function isPhpMailerUsed(): bool { protected function isPhpMailerUsed(): bool {
return $this->config->getSystemValue('mail_smtpmode', 'php') === 'php'; return $this->config->getSystemValue('mail_smtpmode') === 'php';
} }
protected function hasOpcacheLoaded(): bool { protected function hasOpcacheLoaded(): bool {