mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-21 03:12:55 +09:00
Fix some obvious compatibility issues with new dependencies
This commit is contained in:
parent
ab195fbf3b
commit
ad96ae6bb6
6 changed files with 7 additions and 8 deletions
|
|
@ -12,7 +12,7 @@ class MailFunction extends Base implements \Rhymix\Framework\Drivers\MailInterfa
|
|||
*/
|
||||
protected function __construct()
|
||||
{
|
||||
$this->mailer = \Swift_Mailer::newInstance(\Swift_MailTransport::newInstance());
|
||||
$this->mailer = new \Swift_Mailer(new \Swift_MailTransport);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue