summaryrefslogtreecommitdiffstats
path: root/usr/local
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@gmail.com>2011-08-29 18:43:27 -0400
committerScott Ullrich <sullrich@gmail.com>2011-08-29 18:43:38 -0400
commitf670f0a27a4c48bbdc3fd86ca1d9dc8cbb57b4d5 (patch)
treef3f51043631a01a504af5993d327f12010d5024d /usr/local
parent8614f335d1c9d62cdb65e41f235e123e6993368e (diff)
downloadpfsense-f670f0a27a4c48bbdc3fd86ca1d9dc8cbb57b4d5.zip
pfsense-f670f0a27a4c48bbdc3fd86ca1d9dc8cbb57b4d5.tar.gz
Unlink last msg cache for growl when sending test messagws
Diffstat (limited to 'usr/local')
-rw-r--r--usr/local/www/system_advanced_notifications.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr/local/www/system_advanced_notifications.php b/usr/local/www/system_advanced_notifications.php
index 3c997ce..d314f11 100644
--- a/usr/local/www/system_advanced_notifications.php
+++ b/usr/local/www/system_advanced_notifications.php
@@ -113,6 +113,7 @@ if ($_POST) {
// Send test message via growl
if($config['notifications']['growl']['ipaddress'] &&
$config['notifications']['growl']['password'] = $_POST['password']) {
+ unlink_if_exists($g['vardb_path'] . "/growlnotices_lastmsg.txt");
register_via_growl();
notify_via_growl(sprintf(gettext("This is a test message from %s. It is safe to ignore this message."), $g['product_name']));
}
OpenPOWER on IntegriCloud