summaryrefslogtreecommitdiffstats
path: root/usr/local
diff options
context:
space:
mode:
authorChris Buechler <cmb@cmb-macbook-pro.homeunix.net>2009-11-07 22:22:48 -0500
committerChris Buechler <cmb@cmb-macbook-pro.homeunix.net>2009-11-07 22:22:48 -0500
commitddf2c9400f5f2cc4fa308c8f50adab9b4a40fc25 (patch)
tree393e34e91e9c012d1c8642bb977c2b45082bf696 /usr/local
parent09725e7611ee5b5027cd2657d910b2c1af886aa0 (diff)
parent8b0d920e411d3f0453c0a898325682ecb6d7fead (diff)
downloadpfsense-ddf2c9400f5f2cc4fa308c8f50adab9b4a40fc25.zip
pfsense-ddf2c9400f5f2cc4fa308c8f50adab9b4a40fc25.tar.gz
Merge branch 'master' of git@rcs.pfsense.org:pfsense/mainline
Diffstat (limited to 'usr/local')
-rw-r--r--usr/local/www/system_advanced_notifications.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr/local/www/system_advanced_notifications.php b/usr/local/www/system_advanced_notifications.php
index 5f5c74e..5a53ab2 100644
--- a/usr/local/www/system_advanced_notifications.php
+++ b/usr/local/www/system_advanced_notifications.php
@@ -87,6 +87,8 @@ if ($_POST) {
notify_via_growl("This is a test message form pfSense. It is safe to ignore this message.");
// Send test message via smtp
+ if(file_exists("/var/db/notices_lastmsg.txt"))
+ unlink("/var/db/notices_lastmsg.txt");
$savemsg = notify_via_smtp("This is a test message form pfSense. It is safe to ignore this message.");
pfSenseHeader("system_advanced_notifications.php");
OpenPOWER on IntegriCloud