Remove the deprecated save_dialplan_xml function.
This commit is contained in:
parent
bb457f6b40
commit
fe284ccebb
|
|
@ -193,9 +193,6 @@ if (!class_exists('fax')) {
|
||||||
$p->delete("dialplan_edit", 'temp');
|
$p->delete("dialplan_edit", 'temp');
|
||||||
$p->delete("dialplan_detail_edit", 'temp');
|
$p->delete("dialplan_detail_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']);
|
||||||
|
|
@ -344,9 +341,6 @@ if (!class_exists('fax')) {
|
||||||
$p->delete('dialplan_delete', 'temp');
|
$p->delete('dialplan_delete', 'temp');
|
||||||
$p->delete('dialplan_detail_delete', 'temp');
|
$p->delete('dialplan_detail_delete', 'temp');
|
||||||
|
|
||||||
//syncrhonize configuration
|
|
||||||
save_dialplan_xml();
|
|
||||||
|
|
||||||
//apply settings reminder
|
//apply settings reminder
|
||||||
$_SESSION["reload_xml"] = true;
|
$_SESSION["reload_xml"] = true;
|
||||||
|
|
||||||
|
|
@ -647,9 +641,6 @@ if (!class_exists('fax')) {
|
||||||
$p->delete('fax_add', 'temp');
|
$p->delete('fax_add', 'temp');
|
||||||
$p->delete('dialplan_add', 'temp');
|
$p->delete('dialplan_add', 'temp');
|
||||||
|
|
||||||
//syncrhonize configuration
|
|
||||||
save_dialplan_xml();
|
|
||||||
|
|
||||||
//apply settings reminder
|
//apply settings reminder
|
||||||
$_SESSION["reload_xml"] = true;
|
$_SESSION["reload_xml"] = true;
|
||||||
|
|
||||||
|
|
@ -682,4 +673,4 @@ $c->fax_description = $fax_description;
|
||||||
$c->dialplan();
|
$c->dialplan();
|
||||||
*/
|
*/
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue