diff --git a/api/src/Mailer.php b/api/src/Mailer.php index 75fe433c37..f6163ef418 100644 --- a/api/src/Mailer.php +++ b/api/src/Mailer.php @@ -75,12 +75,12 @@ class Mailer extends Horde_Mime_Mail Preferences::setlocale(LC_MESSAGES); parent::__construct(); - if ($account ==='initbasic') + if ($account === 'initbasic') { $this->_headers = new Horde_Mime_Headers(); $this->clearAllRecipients(); $this->clearReplyTos(); - return $this; + return; } if ($account !== false) { @@ -1194,4 +1194,4 @@ class Mailer extends Horde_Mime_Mail } return true; } -} +} \ No newline at end of file