From 9074edb045b0e42d77ddec4bc3f25c83ee70160c Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Mon, 10 Oct 2016 11:40:38 -0600 Subject: [PATCH] Update call_center_queue_edit.php --- app/call_centers/call_center_queue_edit.php | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/app/call_centers/call_center_queue_edit.php b/app/call_centers/call_center_queue_edit.php index 528c5b9260..2d0ce1c2e4 100644 --- a/app/call_centers/call_center_queue_edit.php +++ b/app/call_centers/call_center_queue_edit.php @@ -265,7 +265,7 @@ $orm->app_name = 'call_centers'; $orm->app_uuid = '95788e50-9500-079e-2807-fd530b0ea370'; $orm->save($array); - //$message = $orm->message; + $message = $orm->message; //remove the temporary permission $p->delete("dialplan_add", "temp"); @@ -298,20 +298,6 @@ save_call_center_xml(); remove_config_from_cache('configuration:callcenter.conf'); - //dialplan add or update - $c = new call_center; - $c->db = $db; - $c->domain_uuid = $_SESSION['domain_uuid']; - $c->call_center_queue_uuid = $call_center_queue_uuid; - $c->dialplan_uuid = $dialplan_uuid; - $c->queue_name = $queue_name; - $c->queue_name = $queue_name; - $c->queue_cid_prefix = $queue_cid_prefix; - $c->queue_timeout_action = $queue_timeout_action; - $c->queue_description = $queue_description; - $c->destination_number = $queue_extension; - $a = $c->dialplan(); - //add agent/tier to queue $agent_name = check_str($_POST["agent_name"]); $tier_level = check_str($_POST["tier_level"]);