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 committed by Morris Jobke
parent 079e59dd4b
commit dba617ada3
No known key found for this signature in database
GPG Key ID: FE03C3A163FEDE68
1 changed files with 1 additions and 1 deletions

View File

@ -529,7 +529,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 {