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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user