From: Marc Peña Segarra Date: Sat, 10 Nov 2018 23:55:41 +0000 (+0100) Subject: Fix the warning appearing check setup when mail_smtpmode is not configured. X-Git-Tag: v14.0.4RC2~3^2~2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=dba617ada32ed85eb151f42d38da07ead38b8739;p=nextcloud-server.git Fix the warning appearing check setup when mail_smtpmode is not configured. Closes #11107 --- diff --git a/settings/Controller/CheckSetupController.php b/settings/Controller/CheckSetupController.php index 2a1401a8a9d..57766f26724 100644 --- a/settings/Controller/CheckSetupController.php +++ b/settings/Controller/CheckSetupController.php @@ -529,7 +529,7 @@ Raw output } protected function isPhpMailerUsed(): bool { - return $this->config->getSystemValue('mail_smtpmode', 'php') === 'php'; + return $this->config->getSystemValue('mail_smtpmode') === 'php'; } protected function hasOpcacheLoaded(): bool {