aboutsummaryrefslogtreecommitdiff
path: root/lib/mauve/history.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/mauve/history.rb')
-rw-r--r--lib/mauve/history.rb10
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/mauve/history.rb b/lib/mauve/history.rb
index 674099f..fa5078d 100644
--- a/lib/mauve/history.rb
+++ b/lib/mauve/history.rb
@@ -116,6 +116,16 @@ module Mauve
public
+ def cached_alerts
+ return @cached_alerts if defined? @cached_alerts
+ @cached_alerts = []
+ end
+
+ def reload
+ @cached_alerts = []
+ super
+ end
+
# @return Log4r::Logger
def logger
Log4r::Logger.new self.class.to_s