Skip to content

Commit

Permalink
邮件队列
Browse files Browse the repository at this point in the history
  • Loading branch information
xutl committed May 19, 2017
1 parent 88fa1a7 commit ea3cd10
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions Mailer.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class Mailer extends BaseMailer
*/
public $messageClass = 'xutl\mailer\Message';

public $mq;
public $mq = 'queue';

public $queue;

Expand All @@ -45,9 +45,6 @@ class Mailer extends BaseMailer
public function init()
{
parent::init();
if (empty ($this->mq)) {
throw new InvalidConfigException ('The "mq" property must be set.');
}
if (empty ($this->queue)) {
throw new InvalidConfigException ('The "queue" property must be set.');
}
Expand Down

0 comments on commit ea3cd10

Please sign in to comment.