Update ivr_menu.php
Change session context to domain_name.
This commit is contained in:
parent
2020e398b2
commit
fb72d597f2
|
|
@ -324,7 +324,7 @@ if (!class_exists('ivr_menu')) {
|
|||
|
||||
//clear the cache
|
||||
$cache = new cache;
|
||||
$cache->delete("dialplan:".$_SESSION["context"]);
|
||||
$cache->delete("dialplan:".$ivr_menu_context);
|
||||
foreach ($ivr_menus as $ivr_menu_uuid => $ivr_menu) {
|
||||
$cache->delete("configuration:ivr.conf:".$ivr_menu_uuid);
|
||||
}
|
||||
|
|
@ -467,7 +467,7 @@ if (!class_exists('ivr_menu')) {
|
|||
|
||||
//clear the cache
|
||||
$cache = new cache;
|
||||
$cache->delete("dialplan:".$_SESSION["context"]);
|
||||
$cache->delete("dialplan:".$ivr_menu_context);
|
||||
|
||||
//set message
|
||||
message::add($text['message-copy']);
|
||||
|
|
|
|||
Loading…
Reference in New Issue