]> 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)
committerMorris Jobke <hey@morrisjobke.de>
Mon, 19 Nov 2018 14:49:49 +0000 (15:49 +0100)
Closes #11107

settings/Controller/CheckSetupController.php

index 2a1401a8a9dc82d0e203331294c4018f34ffa4e3..57766f26724963c3fba6b63c6c905b249143f281 100644 (file)
@@ -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 {