diff options
Diffstat (limited to 'lib/mauve')
-rw-r--r-- | lib/mauve/alert.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/mauve/alert.rb b/lib/mauve/alert.rb index 8ccc045..6138664 100644 --- a/lib/mauve/alert.rb +++ b/lib/mauve/alert.rb @@ -412,6 +412,13 @@ module Mauve # # @return [Boolean] showing the unacknowledgment has been successful def unacknowledge! + # + # Start the notification procedure again. + # + if self.was_acknowledged? + self.raised_at = Time.now + end + self.acknowledged_by = nil self.acknowledged_at = nil self.will_unacknowledge_at = nil |