Commit cddda56d7adb230d0fcb85ed0359d4fc23b7d3d5
1 parent
f972ab35
Exists in
master
and in
1 other branch
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 | 16 | |
17 | 17 | def should_notify? notice |
18 | 18 | app = notice.app |
19 | - a = app.notify_on_errs? && | |
19 | + app.notify_on_errs? && | |
20 | 20 | (Errbit::Config.per_app_email_at_notices && app.email_at_notices || Errbit::Config.email_at_notices).include?(notice.problem.notices_count) && |
21 | 21 | app.notification_recipients.any? |
22 | - a | |
23 | 22 | end |
24 | 23 | end | ... | ... |