summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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