Domains - Edit: Update Call Center Agent Contact on domain rename.
This commit is contained in:
parent
242ceb7ccb
commit
731d6d1e47
|
|
@ -382,7 +382,7 @@
|
|||
}
|
||||
|
||||
//update call center queue record templates
|
||||
if (file_exists($_SERVER["PROJECT_ROOT"]."/app/call_center/app_config.php")) {
|
||||
if (file_exists($_SERVER["PROJECT_ROOT"]."/app/call_centers/app_config.php")) {
|
||||
$sql = "update v_call_center_queues set ";
|
||||
$sql .= "queue_record_template = replace(queue_record_template, :domain_name_old, :domain_name_new) ";
|
||||
$sql .= "where domain_uuid = :domain_uuid ";
|
||||
|
|
@ -395,7 +395,7 @@
|
|||
}
|
||||
|
||||
//update call center agent contacts
|
||||
if (file_exists($_SERVER["PROJECT_ROOT"]."/app/call_center/app_config.php")) {
|
||||
if (file_exists($_SERVER["PROJECT_ROOT"]."/app/call_centers/app_config.php")) {
|
||||
$sql = "update v_call_center_agents set ";
|
||||
$sql .= "agent_contact = replace(agent_contact, :domain_name_old, :domain_name_new) ";
|
||||
$sql .= "where domain_uuid = :domain_uuid ";
|
||||
|
|
|
|||
Loading…
Reference in New Issue