Remove the deprecated save_dialplan_xml function.
This commit is contained in:
@@ -161,9 +161,6 @@ if (!class_exists('ivr_menu')) {
|
|||||||
$p->delete('ivr_menu_option_delete', 'temp');
|
$p->delete('ivr_menu_option_delete', 'temp');
|
||||||
$p->delete('dialplan_delete', 'temp');
|
$p->delete('dialplan_delete', 'temp');
|
||||||
|
|
||||||
//synchronize the xml config
|
|
||||||
save_dialplan_xml();
|
|
||||||
|
|
||||||
//clear the cache
|
//clear the cache
|
||||||
if (is_array($ivr_menu_contexts) && @sizeof($ivr_menu_contexts) != 0) {
|
if (is_array($ivr_menu_contexts) && @sizeof($ivr_menu_contexts) != 0) {
|
||||||
$ivr_menu_contexts = array_unique($ivr_menu_contexts);
|
$ivr_menu_contexts = array_unique($ivr_menu_contexts);
|
||||||
@@ -325,9 +322,6 @@ if (!class_exists('ivr_menu')) {
|
|||||||
//revoke temporary permissions
|
//revoke temporary permissions
|
||||||
$p->delete('dialplan_edit', 'temp');
|
$p->delete('dialplan_edit', 'temp');
|
||||||
|
|
||||||
//synchronize the xml config
|
|
||||||
save_dialplan_xml();
|
|
||||||
|
|
||||||
//clear the cache
|
//clear the cache
|
||||||
$cache = new cache;
|
$cache = new cache;
|
||||||
$cache->delete("dialplan:".$_SESSION["context"]);
|
$cache->delete("dialplan:".$_SESSION["context"]);
|
||||||
@@ -471,9 +465,6 @@ if (!class_exists('ivr_menu')) {
|
|||||||
$p->delete('ivr_menu_option_add', 'temp');
|
$p->delete('ivr_menu_option_add', 'temp');
|
||||||
$p->delete('dialplan_add', 'temp');
|
$p->delete('dialplan_add', 'temp');
|
||||||
|
|
||||||
//synchronize the xml config
|
|
||||||
save_dialplan_xml();
|
|
||||||
|
|
||||||
//clear the cache
|
//clear the cache
|
||||||
$cache = new cache;
|
$cache = new cache;
|
||||||
$cache->delete("dialplan:".$_SESSION["context"]);
|
$cache->delete("dialplan:".$_SESSION["context"]);
|
||||||
@@ -491,4 +482,4 @@ if (!class_exists('ivr_menu')) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|||||||
Reference in New Issue
Block a user