From 5ce0edeb12bfe65698c661e93e9f10a4919bf55f Mon Sep 17 00:00:00 2001 From: Christian Flothmann Date: Fri, 7 Jun 2019 12:57:51 +0200 Subject: [PATCH] avoid service id conflicts with Swiftmailer --- .../DependencyInjection/FrameworkExtension.php | 2 +- .../Bundle/FrameworkBundle/Resources/config/mailer.xml | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/Symfony/Bundle/FrameworkBundle/DependencyInjection/FrameworkExtension.php b/src/Symfony/Bundle/FrameworkBundle/DependencyInjection/FrameworkExtension.php index c0266b1a7b..98c94f2a21 100644 --- a/src/Symfony/Bundle/FrameworkBundle/DependencyInjection/FrameworkExtension.php +++ b/src/Symfony/Bundle/FrameworkBundle/DependencyInjection/FrameworkExtension.php @@ -1916,7 +1916,7 @@ class FrameworkExtension extends Extension } $loader->load('mailer.xml'); - $container->getDefinition('mailer.transport')->setArgument(0, $config['dsn']); + $container->getDefinition('mailer.default_transport')->setArgument(0, $config['dsn']); } /** diff --git a/src/Symfony/Bundle/FrameworkBundle/Resources/config/mailer.xml b/src/Symfony/Bundle/FrameworkBundle/Resources/config/mailer.xml index d39899c0a9..1f567a6c93 100644 --- a/src/Symfony/Bundle/FrameworkBundle/Resources/config/mailer.xml +++ b/src/Symfony/Bundle/FrameworkBundle/Resources/config/mailer.xml @@ -6,23 +6,23 @@ - + - + - + - +