diff options
author | jim-p <jimp@pfsense.org> | 2013-10-09 08:07:22 -0400 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2013-10-09 08:08:12 -0400 |
commit | 5d8357465ad861be48fd0c7bd04500dfed3bd5bf (patch) | |
tree | 704611adf6edbe77a394e26a9a72e8a675f62d3e /config/mailreport | |
parent | 8e876f2c16019c3ccbb1a2c7db65a2cf0c2127c1 (diff) | |
download | pfsense-packages-5d8357465ad861be48fd0c7bd04500dfed3bd5bf.tar.gz pfsense-packages-5d8357465ad861be48fd0c7bd04500dfed3bd5bf.tar.bz2 pfsense-packages-5d8357465ad861be48fd0c7bd04500dfed3bd5bf.zip |
When sending an e-mail report, do not generate output, otherwise it will generate a message from cron.
Diffstat (limited to 'config/mailreport')
-rw-r--r-- | config/mailreport/mail_reports.inc | 2 | ||||
-rw-r--r-- | config/mailreport/mailreport.xml | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/config/mailreport/mail_reports.inc b/config/mailreport/mail_reports.inc index 85b67ddf..cf8c837c 100644 --- a/config/mailreport/mail_reports.inc +++ b/config/mailreport/mail_reports.inc @@ -229,8 +229,6 @@ function mail_report_send($headertext, $cmdtext, $logtext, $attachments) { if(!$mail->Send()) { echo "Mailer Error: " . $mail->ErrorInfo; - } else { - echo "<strong>Message sent to {$address}!</strong>\n"; } } diff --git a/config/mailreport/mailreport.xml b/config/mailreport/mailreport.xml index d27d3a28..000fc675 100644 --- a/config/mailreport/mailreport.xml +++ b/config/mailreport/mailreport.xml @@ -37,7 +37,7 @@ ]]> </copyright> <name>mailreport</name> - <version>2.0.4</version> + <version>2.0.5</version> <title>Status: Mail Reports</title> <additional_files_needed> <prefix>/usr/local/bin/</prefix> |