Update call_center_agents.php
This commit is contained in:
parent
b19a67b1b1
commit
6f7be99083
|
|
@ -82,8 +82,6 @@
|
|||
}
|
||||
}
|
||||
|
||||
//agent status has been changed
|
||||
if ($agent['agent_status'] != $agent_status) {
|
||||
//save the agent_stat change to the database
|
||||
$array['call_center_agents'][0]['call_center_agent_uuid'] = $agent_uuid;
|
||||
$array['call_center_agents'][0]['domain_uuid'] = $_SESSION['user']['domain_uuid'];
|
||||
|
|
@ -95,7 +93,6 @@
|
|||
//send the agent status status to mod_call_center
|
||||
$cmd = "api callcenter_config agent set status ".$agent_uuid." '".$agent_status."'";
|
||||
$response = event_socket_request($fp, $cmd);
|
||||
}
|
||||
|
||||
//add or delete agents from the queue assigned by the tier
|
||||
foreach ($_POST['agents'] as $row) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue