mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 11:43:50 +00:00
Enhance - More messages::add updates (#2662)
convert more messages over to messsagse::add
This commit is contained in:
@@ -128,7 +128,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
|
||||
//synchronize the configuration
|
||||
save_var_xml();
|
||||
|
||||
$_SESSION["message"] = $text['message-add'];
|
||||
messages::add($text['message-add']);
|
||||
header("Location: vars.php");
|
||||
return;
|
||||
} //if ($action == "add")
|
||||
@@ -158,7 +158,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
|
||||
//synchronize the configuration
|
||||
save_var_xml();
|
||||
|
||||
$_SESSION["message"] = $text['message-update'];
|
||||
messages::add($text['message-update']);
|
||||
header("Location: vars.php");
|
||||
return;
|
||||
} //if ($action == "update")
|
||||
|
||||
Reference in New Issue
Block a user