diff options
author | Scott Ullrich <sullrich@gmail.com> | 2011-08-29 18:42:57 -0400 |
---|---|---|
committer | Scott Ullrich <sullrich@gmail.com> | 2011-08-29 18:43:43 -0400 |
commit | ac429b4257465274d89d3e7f222e81b4c18b7800 (patch) | |
tree | d388786573288a3cf2aaf51aa0f11e8b3e503c8a | |
parent | 737dbc05c13ddf31dc238ac59b406cc62716482a (diff) | |
download | pfsense-ac429b4257465274d89d3e7f222e81b4c18b7800.zip pfsense-ac429b4257465274d89d3e7f222e81b4c18b7800.tar.gz |
Unlink last msg cache for growl when sending test messagws
-rw-r--r-- | usr/local/www/system_advanced_notifications.php | 1 |
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'])); } |