Fixes
This commit is contained in:
parent
4b7ca0b5f9
commit
67e2496c1c
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -1,7 +1,6 @@
|
|||
/vendor
|
||||
/composer.phar
|
||||
/runtime/builds
|
||||
/runtime/daemon
|
||||
/runtime
|
||||
/app/loggerconfig.php
|
||||
/app/pluginconfig.php
|
||||
/app/config.yml
|
||||
|
|
|
@ -58,7 +58,7 @@ class MailerFactory
|
|||
$transport->setUsername($this->getMailConfig('smtp_username'));
|
||||
$transport->setPassword($this->getMailConfig('smtp_password'));
|
||||
} else {
|
||||
$transport = \Swift_MailTransport::newInstance();
|
||||
$transport = \Swift_MailTransport::newInstance(null);
|
||||
}
|
||||
|
||||
return \Swift_Mailer::newInstance($transport);
|
||||
|
|
Loading…
Reference in a new issue