Project

General

Profile

0001-Fixes-bug-422-broken-records-will-now-be-handled-cor.patch

Trivial patch - Jochen Schalanda, 10/31/2010 03:12 PM

View differences:

app/models/report_observer.rb
5 5
      # notify via email IF enabled is set to true
6 6
      if report.host.disabled?
7 7
        report.logger.warn "#{report.host} is disabled - skipping."
8
        next
8
        return
9 9
      end
10 10
      HostMailer.deliver_error_state(report) if SETTINGS[:failed_report_email_notification]
11 11
      # add here more actions - e.g. snmp alert etc
12
-