Fix secure Mail addon

This commit is contained in:
nupplaPhil
2020-01-31 19:32:17 +01:00
parent 4c07c725b6
commit fc370f74ea
3 changed files with 64 additions and 24 deletions
+4
View File
@@ -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;
}