Add FIFO Queues to use the same code as the dialplan.

This commit is contained in:
Mark Crane
2013-09-11 19:31:40 +00:00
parent 64c5bf0b29
commit 50f7f0f22b
7 changed files with 31 additions and 4 deletions
+3 -3
View File
@@ -17,7 +17,7 @@
The Initial Developer of the Original Code is
Mark J Crane <markjcrane@fusionpbx.com>
Portions created by the Initial Developer are Copyright (C) 2008-2012
Portions created by the Initial Developer are Copyright (C) 2008-2013
the Initial Developer. All Rights Reserved.
Contributor(s):
@@ -29,6 +29,7 @@ require_once "resources/check_auth.php";
if (permission_exists('dialplan_delete')
|| permission_exists('inbound_route_delete')
|| permission_exists('outbound_route_delete')
|| permission_exists('fifo_delete')
|| permission_exists('time_conditions_delete')) {
//access granted
}
@@ -51,8 +52,7 @@ if (count($_GET)>0) {
if (strlen($id)>0) {
//delete child data
$sql = "";
$sql .= "delete from v_dialplan_details ";
$sql = "delete from v_dialplan_details ";
$sql .= "where domain_uuid = '$domain_uuid' ";
$sql .= "and dialplan_detail_uuid = '$id' ";
$sql .= "and dialplan_uuid = '$dialplan_uuid' ";