This commit is contained in:
Dmitry Khomutov 2016-08-25 22:28:13 +07:00
parent 4b7ca0b5f9
commit 67e2496c1c
2 changed files with 2 additions and 3 deletions

3
.gitignore vendored
View file

@ -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

View file

@ -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);