Commit 5d17e1e92e344cc0b39c6497661a721eb1a0f2f9

Authored by Bob Lail
1 parent 4b42f930
Exists in master and in 1 other branch production

remove unused method

Showing 1 changed file with 0 additions and 5 deletions   Show diff stats
app/models/notice.rb
@@ -83,9 +83,6 @@ class Notice @@ -83,9 +83,6 @@ class Notice
83 Mailer.err_notification(self).deliver 83 Mailer.err_notification(self).deliver
84 end 84 end
85 85
86 - def cache_last_notice_at  
87 - err.update_attributes(:last_notice_at => created_at)  
88 - end  
89 86
90 # Backtrace containing only files from the app itself (ignore gems) 87 # Backtrace containing only files from the app itself (ignore gems)
91 def app_backtrace 88 def app_backtrace
@@ -93,11 +90,9 @@ class Notice @@ -93,11 +90,9 @@ class Notice
93 end 90 end
94 91
95 92
96 -  
97 protected 93 protected
98 94
99 95
100 -  
101 def should_notify? 96 def should_notify?
102 app.notify_on_errs? && (Errbit::Config.per_app_email_at_notices && app.email_at_notices || Errbit::Config.email_at_notices).include?(problem.notices_count) && app.watchers.any? 97 app.notify_on_errs? && (Errbit::Config.per_app_email_at_notices && app.email_at_notices || Errbit::Config.email_at_notices).include?(problem.notices_count) && app.watchers.any?
103 end 98 end