Add 'switch_' to the dialplan class filen name.

This commit is contained in:
Mark Crane
2012-06-06 01:34:11 +00:00
parent 3d2926eb0c
commit 6b6e7c327d
5 changed files with 7 additions and 7 deletions

View File

@@ -2384,7 +2384,7 @@ function save_hunt_group_xml() {
unset($sql);
}
require_once "includes/classes/dialplan.php";
require_once "includes/classes/switch_dialplan.php";
$dialplan = new dialplan;
$dialplan->domain_uuid = $_SESSION['domain_uuid'];
$dialplan->app_uuid = $app_uuid;
@@ -2433,7 +2433,7 @@ function save_hunt_group_xml() {
//if action is add or update
if ($action == 'add' || $action == 'update') {
require_once "includes/classes/dialplan.php";
require_once "includes/classes/switch_dialplan.php";
$dialplan = new dialplan;
$dialplan->domain_uuid = $_SESSION['domain_uuid'];
$dialplan->dialplan_uuid = $dialplan_uuid;
@@ -3729,7 +3729,7 @@ if (!function_exists('save_call_center_xml')) {
global $db, $domain_uuid;
//include the classes
include "includes/classes/dialplan.php";
include "includes/classes/switch_dialplan.php";
$sql = "select * from v_call_center_queues ";
$prep_statement = $db->prepare(check_sql($sql));