Fix secure Mail addon
This commit is contained in:
@@ -45,8 +45,12 @@ class Emailer
|
||||
*/
|
||||
public function send(IEmail $email)
|
||||
{
|
||||
$this->logger->warning('start', ['email' => $email]);
|
||||
|
||||
Hook::callAll('emailer_send_prepare', $email);
|
||||
|
||||
$this->logger->warning('end', ['email' => $email]);
|
||||
|
||||
if (empty($email)) {
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user