Skip to content

Commit

Permalink
Remove redundant call to Email::profile()
Browse files Browse the repository at this point in the history
  • Loading branch information
jadb committed Apr 19, 2015
1 parent 9108e26 commit 4e4d9a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Mailer/Mailer.php
Expand Up @@ -58,7 +58,7 @@ public function __construct(Email $email = null)
$this->layout = Inflector::underscore($this->getName());
}

$this->_email = $email->profile((array)$this);
$this->_email = $email;
}

/**
Expand Down

0 comments on commit 4e4d9a3

Please sign in to comment.