Commit cddda56d7adb230d0fcb85ed0359d4fc23b7d3d5

Authored by Ryan Jones
1 parent f972ab35
Exists in master and in 1 other branch production

remove some debugger code

Showing 1 changed file with 1 additions and 2 deletions   Show diff stats
app/models/notice_observer.rb
@@ -16,9 +16,8 @@ class NoticeObserver < Mongoid::Observer @@ -16,9 +16,8 @@ class NoticeObserver < Mongoid::Observer
16 16
17 def should_notify? notice 17 def should_notify? notice
18 app = notice.app 18 app = notice.app
19 - a = app.notify_on_errs? && 19 + app.notify_on_errs? &&
20 (Errbit::Config.per_app_email_at_notices && app.email_at_notices || Errbit::Config.email_at_notices).include?(notice.problem.notices_count) && 20 (Errbit::Config.per_app_email_at_notices && app.email_at_notices || Errbit::Config.email_at_notices).include?(notice.problem.notices_count) &&
21 app.notification_recipients.any? 21 app.notification_recipients.any?
22 - a  
23 end 22 end
24 end 23 end