summaryrefslogtreecommitdiffstats
path: root/settings/Controller
diff options
context:
space:
mode:
authorMarc Peña Segarra <segarrra@gmail.com>2018-11-11 00:55:41 +0100
committerMarc Peña Segarra <segarrra@gmail.com>2018-11-11 00:55:41 +0100
commitea10c6a141ae7dcd813bc17f81a3f934e9ba32b6 (patch)
tree4a5886ed7ec134d0de8d344273246517caadb65c /settings/Controller
parentcc96b93f95b844393b845b36be52c8399caed917 (diff)
downloadnextcloud-server-ea10c6a141ae7dcd813bc17f81a3f934e9ba32b6.tar.gz
nextcloud-server-ea10c6a141ae7dcd813bc17f81a3f934e9ba32b6.zip
Fix the warning appearing check setup when mail_smtpmode is not configured.
Closes #11107
Diffstat (limited to 'settings/Controller')
-rw-r--r--settings/Controller/CheckSetupController.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/Controller/CheckSetupController.php b/settings/Controller/CheckSetupController.php
index fa4ed57ab95..cc9cb17388e 100644
--- a/settings/Controller/CheckSetupController.php
+++ b/settings/Controller/CheckSetupController.php
@@ -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 {