Commit a0e05047db8f30750cf609086c5627d27c19ae77
Exists in
master
and in
1 other branch
Merge branch 'master' of github.com:errbit/errbit
Showing
3 changed files
with
3 additions
and
3 deletions
Show diff stats
app/models/deploy.rb
app/models/notice.rb
... | ... | @@ -98,7 +98,7 @@ class Notice |
98 | 98 | protected |
99 | 99 | |
100 | 100 | def should_notify? |
101 | - 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? | |
101 | + 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.notification_recipients.any? | |
102 | 102 | end |
103 | 103 | |
104 | 104 | def increase_counter_cache | ... | ... |