]> source.dussan.org Git - nextcloud-server.git/commitdiff
Fix the warning appearing check setup when mail_smtpmode is not configured.
authorMarc Peña Segarra <segarrra@gmail.com>
Sat, 10 Nov 2018 23:55:41 +0000 (00:55 +0100)
committerMarc Peña Segarra <segarrra@gmail.com>
Sat, 10 Nov 2018 23:55:41 +0000 (00:55 +0100)
Closes #11107

settings/Controller/CheckSetupController.php

index fa4ed57ab95302d2159892f6d2d875f604a1b138..cc9cb17388ec314e82005216f8e4f663c3e4bd17 100644 (file)
@@ -530,7 +530,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 {