Remove the old save_dialplan_xml function.

This commit is contained in:
FusionPBX
2020-08-14 00:13:17 -06:00
committed by GitHub
parent 35d8e048cb
commit 3161cd638b

View File

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