From d96ec878bc4284485c2249fe4fa49e21f231ca08 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Fri, 14 Aug 2020 00:22:56 -0600 Subject: [PATCH] Remove the deprecated save_dialplan_xml function. --- app/ivr_menus/resources/classes/ivr_menu.php | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/app/ivr_menus/resources/classes/ivr_menu.php b/app/ivr_menus/resources/classes/ivr_menu.php index e1abbc1854..40a46246fb 100644 --- a/app/ivr_menus/resources/classes/ivr_menu.php +++ b/app/ivr_menus/resources/classes/ivr_menu.php @@ -161,9 +161,6 @@ if (!class_exists('ivr_menu')) { $p->delete('ivr_menu_option_delete', 'temp'); $p->delete('dialplan_delete', 'temp'); - //synchronize the xml config - save_dialplan_xml(); - //clear the cache if (is_array($ivr_menu_contexts) && @sizeof($ivr_menu_contexts) != 0) { $ivr_menu_contexts = array_unique($ivr_menu_contexts); @@ -325,9 +322,6 @@ if (!class_exists('ivr_menu')) { //revoke temporary permissions $p->delete('dialplan_edit', 'temp'); - //synchronize the xml config - save_dialplan_xml(); - //clear the cache $cache = new cache; $cache->delete("dialplan:".$_SESSION["context"]); @@ -471,9 +465,6 @@ if (!class_exists('ivr_menu')) { $p->delete('ivr_menu_option_add', 'temp'); $p->delete('dialplan_add', 'temp'); - //synchronize the xml config - save_dialplan_xml(); - //clear the cache $cache = new cache; $cache->delete("dialplan:".$_SESSION["context"]); @@ -491,4 +482,4 @@ if (!class_exists('ivr_menu')) { } } -?> \ No newline at end of file +?>