Fix the indentation in the file.
This commit is contained in:
parent
fe180d7075
commit
788697e8d3
|
|
@ -77,7 +77,7 @@ else {
|
|||
}
|
||||
unset ($prep_statement);
|
||||
|
||||
//copy the dialplan
|
||||
//copy the dialplan
|
||||
$dialplan_uuid = uuid();
|
||||
$sql = "insert into v_dialplans ";
|
||||
$sql .= "(";
|
||||
|
|
@ -106,7 +106,7 @@ else {
|
|||
$db->exec(check_sql($sql));
|
||||
unset($sql);
|
||||
|
||||
//get the the dialplan details
|
||||
//get the the dialplan details
|
||||
$sql = "select * from v_dialplan_details ";
|
||||
$sql .= "where dialplan_uuid = '$database_dialplan_uuid' ";
|
||||
$prep_statement = $db->prepare(check_sql($sql));
|
||||
|
|
@ -161,17 +161,17 @@ else {
|
|||
}
|
||||
unset ($prep_statement);
|
||||
|
||||
//synchronize the xml config
|
||||
//synchronize the xml config
|
||||
save_dialplan_xml();
|
||||
|
||||
//delete the dialplan context from memcache
|
||||
//delete the dialplan context from memcache
|
||||
$fp = event_socket_create($_SESSION['event_socket_ip_address'], $_SESSION['event_socket_port'], $_SESSION['event_socket_password']);
|
||||
if ($fp) {
|
||||
$switch_cmd = "memcache delete dialplan:".$dialplan_context;
|
||||
$switch_result = event_socket_request($fp, 'api '.$switch_cmd);
|
||||
}
|
||||
|
||||
|
||||
//send a redirect
|
||||
$_SESSION["message"] = $text['message-copy'];
|
||||
switch ($app_uuid) {
|
||||
case "c03b422e-13a8-bd1b-e42b-b6b9b4d27ce4": //inbound routes
|
||||
|
|
|
|||
Loading…
Reference in New Issue