Remove the deprecated save_dialplan_xml function.

This commit is contained in:
FusionPBX 2020-08-14 00:22:56 -06:00 committed by GitHub
parent fc0ec80fbd
commit d96ec878bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 10 deletions

View File

@ -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')) {
}
}
?>
?>