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);