Enhance - More messages::add updates (#2662)

convert more messages over to messsagse::add
This commit is contained in:
Mafoo
2017-06-10 03:13:40 +01:00
committed by FusionPBX
parent 4f4baf136b
commit 9570ce1bf0
153 changed files with 249 additions and 293 deletions

View File

@@ -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")