mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Unlink last msg cache for growl when sending test messagws
This commit is contained in:
parent
8614f335d1
commit
f670f0a27a
@ -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']));
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user