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