summaryrefslogtreecommitdiff
path: root/app/Core/Mail/Transport/Smtp.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-08-07 13:43:18 -0400
committerFrederic Guillot <fred@kanboard.net>2016-08-07 13:43:18 -0400
commit508a5eaf850c3146090763c4c62ac9a3f84c9594 (patch)
tree7c80b862a4bce4e351755ef59bfae33e1e9381c9 /app/Core/Mail/Transport/Smtp.php
parentf0192a7b2e69a96ee2e97d02397c4d4f75fa94ed (diff)
Re-indent code of PR #2560
Diffstat (limited to 'app/Core/Mail/Transport/Smtp.php')
-rw-r--r--app/Core/Mail/Transport/Smtp.php8
1 files changed, 7 insertions, 1 deletions
diff --git a/app/Core/Mail/Transport/Smtp.php b/app/Core/Mail/Transport/Smtp.php
index ec7eb541..1f4e54ce 100644
--- a/app/Core/Mail/Transport/Smtp.php
+++ b/app/Core/Mail/Transport/Smtp.php
@@ -25,7 +25,13 @@ class Smtp extends Mail
$transport->setPassword(MAIL_SMTP_PASSWORD);
$transport->setEncryption(MAIL_SMTP_ENCRYPTION);
if (HTTP_VERIFY_SSL_CERTIFICATE === false) {
- $transport->setStreamOptions(array('ssl' => array('allow_self_signed' => true, 'verify_peer' => false, 'verify_peer_name' => false,)));
+ $transport->setStreamOptions(array(
+ 'ssl' => array(
+ 'allow_self_signed' => true,
+ 'verify_peer' => false,
+ 'verify_peer_name' => false,
+ )
+ ));
}
return $transport;