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

@@ -80,7 +80,7 @@
$sql .= "and user_uuid = '".$user_uuid."' ";
$db->exec(check_sql($sql));
$_SESSION["message"] = $text['confirm-delete'];
messages::add($text['confirm-delete']);
header("Location: conference_edit.php?id=".$conference_uuid);
return;
}
@@ -107,7 +107,7 @@
$sql_insert .= ")";
$db->exec($sql_insert);
//send a message
$_SESSION["message"] = $text['confirm-add'];
messages::add($text['confirm-add']);
header("Location: conference_edit.php?id=".$conference_uuid);
return;
}
@@ -217,7 +217,7 @@
dialplan_detail_add($_SESSION['domain_uuid'], $dialplan_uuid, $dialplan_detail_tag, $dialplan_detail_order, $dialplan_detail_group, $dialplan_detail_type, $dialplan_detail_data);
//add the message
$_SESSION["message"] = $text['confirm-add'];
messages::add($text['confirm-add']);
} //if ($action == "add")
if ($action == "update") {
@@ -273,7 +273,7 @@
$db->query($sql);
//add the message
$_SESSION["message"] = $text['confirm-update'];
messages::add($text['confirm-update']);
} //if ($action == "update")
//update the dialplan xml