From 8d209c0f6a1b3c47f9bc55b6f63cb14bfa935162 Mon Sep 17 00:00:00 2001 From: Patrick J Cherry Date: Fri, 19 Aug 2011 14:50:56 +0100 Subject: Don't remind about acknowledged or cleared alerts! --- lib/mauve/person.rb | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'lib/mauve/person.rb') diff --git a/lib/mauve/person.rb b/lib/mauve/person.rb index e52b644..26425da 100644 --- a/lib/mauve/person.rb +++ b/lib/mauve/person.rb @@ -102,6 +102,12 @@ module Mauve return false end + # + # For the love of God, do not remind about ack'd or cleared alerts. + # + if alert.acknowledged? or alert.cleared? + remind_at = nil + end this_reminder = AlertChanged.new( :level => level.to_s, -- cgit v1.2.1