From 3161cd638b72b5158e1c9795082a231c0ace89c4 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Fri, 14 Aug 2020 00:13:17 -0600 Subject: [PATCH] Remove the old save_dialplan_xml function. --- app/dialplans/resources/classes/dialplan.php | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/app/dialplans/resources/classes/dialplan.php b/app/dialplans/resources/classes/dialplan.php index 7fbd8d3a7c..7f1eb69ed5 100644 --- a/app/dialplans/resources/classes/dialplan.php +++ b/app/dialplans/resources/classes/dialplan.php @@ -1100,9 +1100,6 @@ $p->delete('dialplan_delete', 'temp'); $p->delete('dialplan_detail_delete', 'temp'); - //synchronize the xml config - save_dialplan_xml(); - //clear the cache if (is_array($dialplan_contexts) && @sizeof($dialplan_contexts) != 0) { $dialplan_contexts = array_unique($dialplan_contexts, SORT_STRING); @@ -1200,9 +1197,6 @@ //revoke temporary permissions $p->delete('dialplan_detail_delete', 'temp'); - //synchronize the xml config - save_dialplan_xml(); - //clear the cache if (is_array($dialplan_contexts) && @sizeof($dialplan_contexts) != 0) { $dialplan_contexts = array_unique($dialplan_contexts, SORT_STRING); @@ -1309,9 +1303,6 @@ //revoke temporary permissions $p->delete('dialplan_edit', 'temp'); - //synchronize the xml config - save_dialplan_xml(); - //clear the cache if (is_array($dialplan_contexts) && @sizeof($dialplan_contexts) != 0) { $dialplan_contexts = array_unique($dialplan_contexts, SORT_STRING); @@ -1446,9 +1437,6 @@ //revoke temporary permissions $p->delete('dialplan_detail_add', 'temp'); - //synchronize the xml config - save_dialplan_xml(); - //clear the cache if (is_array($dialplan_contexts) && @sizeof($dialplan_contexts) != 0) { $dialplan_contexts = array_unique($dialplan_contexts, SORT_STRING);