Update ivr_menu.php

This commit is contained in:
FusionPBX 2020-10-22 03:16:10 -06:00 committed by GitHub
parent 6ffec9b87f
commit 95c8fc9c7a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -324,7 +324,7 @@ if (!class_exists('ivr_menu')) {
//clear the cache
$cache = new cache;
$cache->delete("dialplan:".$ivr_menu_context);
$cache->delete("dialplan:".$_SESSION['domain_name']);
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:".$ivr_menu_context);
$cache->delete("dialplan:".$_SESSION['domain_name']);
//set message
message::add($text['message-copy']);