mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 19:53:56 +00:00
Update ivr_menu.php
Change session context to domain_name.
This commit is contained in:
@@ -52,9 +52,9 @@ if (!class_exists('ivr_menu')) {
|
||||
public function __construct() {
|
||||
|
||||
//assign private variables
|
||||
$this->app_name = 'ivr_menus';
|
||||
$this->app_uuid = 'a5788e9b-58bc-bd1b-df59-fff5d51253ab';
|
||||
$this->list_page = 'ivr_menus.php';
|
||||
$this->app_name = 'ivr_menus';
|
||||
$this->app_uuid = 'a5788e9b-58bc-bd1b-df59-fff5d51253ab';
|
||||
$this->list_page = 'ivr_menus.php';
|
||||
|
||||
}
|
||||
|
||||
@@ -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']);
|
||||
|
||||
Reference in New Issue
Block a user