Skip to content
This repository has been archived by the owner on Feb 6, 2022. It is now read-only.

Commit

Permalink
Remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
Tri Pham authored and fabpot committed Dec 14, 2018
1 parent 80afd8e commit ef60060
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion Command/DebugCommand.php
Expand Up @@ -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';
Expand Down
2 changes: 1 addition & 1 deletion Command/SendEmailCommand.php
Expand Up @@ -89,7 +89,7 @@ private function processMailer($name, InputInterface $input, OutputInterface $ou
}
}

private function recoverSpool($name, \Swift_Transport $transport, InputInterface $input, OutputInterface $output)
private function recoverSpool($name, \Swift_Transport $transport, InputInterface $input)
{
if ($transport instanceof \Swift_Transport_SpoolTransport) {
$spool = $transport->getSpool();
Expand Down

0 comments on commit ef60060

Please sign in to comment.