diff options
| author | Bharat Mediratta <bharat@menalto.com> | 2009-08-28 11:51:41 -0700 |
|---|---|---|
| committer | Bharat Mediratta <bharat@menalto.com> | 2009-08-28 11:51:41 -0700 |
| commit | 5133f93290e3ab0052909c27dcec05983c819ebe (patch) | |
| tree | 4196ee502205177a6d808a7499bbd1234daa4150 /modules/gallery | |
| parent | 16fc4465d0e773239bfe11681f7303b46e6419f0 (diff) | |
Don't record mail failures when we throw the exception, record them
when we catch the exception instead.
Diffstat (limited to 'modules/gallery')
| -rw-r--r-- | modules/gallery/libraries/Sendmail.php | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/modules/gallery/libraries/Sendmail.php b/modules/gallery/libraries/Sendmail.php index d6229e07..7bc21a67 100644 --- a/modules/gallery/libraries/Sendmail.php +++ b/modules/gallery/libraries/Sendmail.php @@ -86,8 +86,6 @@ class Sendmail_Core { $headers = implode($this->header_separator, $headers); $message = wordwrap($this->message, $this->line_length, "\n"); if (!$this->mail($to, $this->subject, $message, $headers)) { - Kohana::log("error", wordwrap("Sending mail failed:\nTo: $to\n $this->subject\n" . - "Headers: $headers\n $this->message")); throw new Exception("@todo SEND_MAIL_FAILED"); } return $this; |
