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

convert more messages over to messsagse::add
This commit is contained in:
Mafoo
2017-06-09 20:13:40 -06:00
committed by FusionPBX
parent bc26ecf6ae
commit 3cab4401cf
153 changed files with 249 additions and 293 deletions
+3 -3
View File
@@ -161,7 +161,7 @@
$cache->delete("configuration:sofia.conf:".$sip_profile_hostname);
//redirect the browser
$_SESSION["message"] = $text['message-update'];
messages::add($text['message-update']);
header("Location: sip_profiles.php");
//save the sip profile xml
@@ -172,10 +172,10 @@
//redirect the user
if (isset($action)) {
if ($action == "add") {
$_SESSION["message"] = $text['message-add'];
messages::add($text['message-add']);
}
if ($action == "update") {
$_SESSION["message"] = $text['message-update'];
messages::add($text['message-update']);
}
header('Location: sip_profile_edit.php?id='.$sip_profile_uuid);
return;