mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Cache key add hostname prefix
This commit is contained in:
@@ -862,9 +862,9 @@
|
||||
$user_context = $database->select($sql, $parameters, 'column');
|
||||
}
|
||||
$cache = new cache;
|
||||
$cache->delete("directory:".$extension."@".$user_context);
|
||||
$cache->delete(gethostname().":directory:".$extension."@".$user_context);
|
||||
if (permission_exists('number_alias') && !empty($number_alias)) {
|
||||
$cache->delete("directory:".$number_alias."@".$user_context);
|
||||
$cache->delete(gethostname().":directory:".$number_alias."@".$user_context);
|
||||
}
|
||||
|
||||
//clear the destinations session array
|
||||
|
||||
Reference in New Issue
Block a user