diff options
Diffstat (limited to 'lib/mauve/notifiers')
-rw-r--r-- | lib/mauve/notifiers/email.rb | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/lib/mauve/notifiers/email.rb b/lib/mauve/notifiers/email.rb index 9d825b8..d450149 100644 --- a/lib/mauve/notifiers/email.rb +++ b/lib/mauve/notifiers/email.rb @@ -72,15 +72,7 @@ module Mauve m.header.to = destination m.header.from = @from - m.header.date = ( case alert.update_type - when "cleared" - alert.cleared_at - when "acknowledged" - alert.acknowledged_at - else - alert.raised_at - end ) - + m.header.date = Time.now m.header['Content-Type'] = "multipart/alternative" txt_template = File.join(File.dirname(__FILE__), "templates", "email.txt.erb") |