Skip to content

Commit

Permalink
Bugfix singleton PHPMailer
Browse files Browse the repository at this point in the history
  • Loading branch information
Danilo Argentiero committed Dec 6, 2018
1 parent fba9ef9 commit d3a59eb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions Mail/Transport.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,11 @@ class Transport implements \Magento\Framework\Mail\TransportInterface
public function __construct(
Config $config,
MailMessageInterface $message,
LoggerInterface $logger,
PHPMailer $mailer
LoggerInterface $logger
) {
$this->config = $config;
$this->message = $message;
$this->logger = $logger;
$this->mailer = $mailer;
}

/**
Expand Down
2 changes: 1 addition & 1 deletion etc/module.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
<module name="MSP_SMTP" setup_version="2.3.2">
<module name="MSP_SMTP" setup_version="2.3.3">
<sequence>
<module name="Magento_Email"/>
</sequence>
Expand Down

0 comments on commit d3a59eb

Please sign in to comment.