Change user_context to domain_name as the cache uses domain name not the context.

Context and domain are usually the same but there could be times that they are different. However code is always using the domain name for the cache key.
This commit is contained in:
FusionPBX
2021-04-13 13:37:15 -06:00
committed by GitHub
parent 515eeb77de
commit 18b8a7478a

View File

@@ -311,7 +311,7 @@
$apps[$x]['default_settings'][$y]['default_setting_description'] = "Default value to set whether to record inbound, outbound, or all calls.";
//cache details
$apps[$x]['cache']['key'] = "directory.\${extension}@\${user_context}";
$apps[$x]['cache']['key'] = "directory.\${extension}@\${domain_name}";
//schema details
$y=0;