diff options
Diffstat (limited to 'settings')
-rw-r--r-- | settings/Controller/CheckSetupController.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/settings/Controller/CheckSetupController.php b/settings/Controller/CheckSetupController.php index ecbb9839c75..a301ecb1f66 100644 --- a/settings/Controller/CheckSetupController.php +++ b/settings/Controller/CheckSetupController.php @@ -523,6 +523,10 @@ Raw output return []; } + protected function isPhpMailerUsed(): bool { + return $this->config->getSystemValue('mail_smtpmode', 'php') === 'php'; + } + /** * @return DataResponse */ @@ -557,6 +561,8 @@ Raw output 'missingIndexes' => $this->hasMissingIndexes(), 'isSqliteUsed' => $this->isSqliteUsed(), 'databaseConversionDocumentation' => $this->urlGenerator->linkToDocs('admin-db-conversion'), + 'isPhpMailerUsed' => $this->isPhpMailerUsed(), + 'mailSettingsDocumentation' => $this->urlGenerator->getAbsoluteURL('index.php/settings/admin') ] ); } |