From 156241c763b6129be3354b06a89c88954bd82582 Mon Sep 17 00:00:00 2001 From: Tri Pham Date: Fri, 14 Dec 2018 11:57:05 +0700 Subject: [PATCH] Remove unused code --- Command/DebugCommand.php | 1 - 1 file changed, 1 deletion(-) diff --git a/Command/DebugCommand.php b/Command/DebugCommand.php index 16365bfd..510a22fd 100644 --- a/Command/DebugCommand.php +++ b/Command/DebugCommand.php @@ -71,7 +71,6 @@ protected function outputMailers($routes = null) $mailers = $this->getContainer()->getParameter('swiftmailer.mailers'); foreach ($mailers as $name => $mailer) { - $mailer = $this->getContainer()->get($mailer); $transport = $this->getContainer()->getParameter(sprintf('swiftmailer.mailer.%s.transport.name', $name)); $spool = $this->getContainer()->getParameter(sprintf('swiftmailer.mailer.%s.spool.enabled', $name)) ? 'YES' : 'NO'; $delivery = $this->getContainer()->getParameter(sprintf('swiftmailer.mailer.%s.delivery.enabled', $name)) ? 'YES' : 'NO';