Get rid of duplicate columns in ring groups and change some of the wording for 2 comments.

This commit is contained in:
Mark Crane
2013-09-19 12:06:29 +00:00
parent 1097b583b7
commit 77e59fa9be
2 changed files with 2 additions and 6 deletions

View File

@@ -116,8 +116,6 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
$sql .= "domain_uuid, ";
$sql .= "ring_group_destination_uuid, ";
$sql .= "ring_group_uuid, ";
$sql .= "domain_uuid, ";
$sql .= "ring_group_uuid, ";
$sql .= "destination_number, ";
$sql .= "destination_delay, ";
$sql .= "destination_timeout, ";
@@ -128,8 +126,6 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
$sql .= "'$domain_uuid', ";
$sql .= "'".uuid()."', ";
$sql .= "'$ring_group_uuid', ";
$sql .= "'$domain_uuid', ";
$sql .= "'$ring_group_uuid', ";
$sql .= "'$destination_number', ";
$sql .= "'$destination_delay', ";
$sql .= "'$destination_timeout', ";

View File

@@ -127,12 +127,12 @@ else {
}
}
//assign the extension to the user
//assign the user
if (strlen($_REQUEST["user_uuid"]) > 0 && strlen($_REQUEST["id"]) > 0 && $_GET["a"] != "delete") {
//set the variables
$user_uuid = check_str($_REQUEST["user_uuid"]);
$extension_uuid = check_str($_REQUEST["id"]);
//assign the user to the extension
//assign the user to the ring group
$sql_insert = "insert into v_ring_group_users ";
$sql_insert .= "(";
$sql_insert .= "ring_group_user_uuid, ";