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

Commit

Permalink
minor #268 Remove unused code (phamuyentri)
Browse files Browse the repository at this point in the history
This PR was squashed before being merged into the 3.2-dev branch (closes #268).

Discussion
----------

Remove unused code

Remove some unused code

Commits
-------

ef60060 Remove unused code
  • Loading branch information
fabpot committed Dec 14, 2018
2 parents 80afd8e + ef60060 commit 3fc0cd7
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 3fc0cd7

Please sign in to comment.