mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-03-16 13:32:14 +00:00
Remove the hostname prefix from the directory cache key
This commit is contained in:
@@ -425,9 +425,9 @@
|
||||
|
||||
//clear the cache
|
||||
$cache = new cache;
|
||||
$cache->delete(gethostname().":directory:".$extension."@".$_SESSION['domain_name']);
|
||||
$cache->delete("directory:".$extension."@".$_SESSION['domain_name']);
|
||||
if (!empty($number_alias)) {
|
||||
$cache->delete(gethostname().":directory:".$number_alias."@".$_SESSION['domain_name']);
|
||||
$cache->delete("directory:".$number_alias."@".$_SESSION['domain_name']);
|
||||
}
|
||||
|
||||
//add the message
|
||||
|
||||
Reference in New Issue
Block a user