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:
@@ -903,9 +903,9 @@
|
||||
$user_context = $database->select($sql, $parameters, 'column');
|
||||
}
|
||||
$cache = new cache;
|
||||
$cache->delete(gethostname().":directory:".$extension."@".$user_context);
|
||||
$cache->delete("directory:".$extension."@".$user_context);
|
||||
if (permission_exists('number_alias') && !empty($number_alias)) {
|
||||
$cache->delete(gethostname().":directory:".$number_alias."@".$user_context);
|
||||
$cache->delete("directory:".$number_alias."@".$user_context);
|
||||
}
|
||||
|
||||
//clear the destinations session array
|
||||
|
||||
Reference in New Issue
Block a user