Fix. Clear the cache when callcenter config changed.

This commit is contained in:
Alexey Melnichuk
2015-09-28 12:10:31 +04:00
parent 36db4dcee4
commit 40356e4063
6 changed files with 20 additions and 2 deletions
@@ -87,9 +87,11 @@ if (strlen($id) > 0) {
//clear the cache
$cache = new cache;
$cache->delete("dialplan:".$_SESSION["context"]);
remove_config_from_cache('configuration:callcenter.conf');
//synchronize configuration
save_dialplan_xml();
save_call_center_xml();
//apply settings reminder
$_SESSION["reload_xml"] = true;