Skip to content

Commit

Permalink
Ticket 480: Update composer for PHPMailer 6.x
Browse files Browse the repository at this point in the history
- Needed adjustments to Mail class
- Updated various other components with the switch to PHPMailer 6.x
  • Loading branch information
blackcoder87 committed Feb 17, 2018
1 parent 0e9d5a8 commit 16eed3f
Show file tree
Hide file tree
Showing 3 changed files with 101 additions and 106 deletions.
4 changes: 3 additions & 1 deletion application/libraries/Ilch/Mail.php
Expand Up @@ -6,6 +6,8 @@

namespace Ilch;

use PHPMailer\PHPMailer\PHPMailer;

class Mail
{
/**
Expand Down Expand Up @@ -55,7 +57,7 @@ class Mail

public function PHPMailer()
{
return new \PHPMailer();
return new PHPMailer;
}

/**
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Expand Up @@ -19,7 +19,7 @@
"components/jquery": "^3.1",
"ckeditor/ckeditor": "^4.6",
"components/jqueryui": "^1.12",
"phpmailer/phpmailer": "~5.2",
"phpmailer/phpmailer": "~6.0",
"sphido/events": "^0.3"
},
"require-dev": {
Expand Down

0 comments on commit 16eed3f

Please sign in to comment.