return self::getSystemDefaults($entity);
}
- $cacheKey = 'defaults:' . $entity;
+ $cacheKey = 'defaults_' . $entity;
$defaults = $this->cache->get($cacheKey);
if (!is_array($defaults)) {
$specs = SettingsMetadata::getMetadata(array(
*/
protected function createManager() {
$cache = new \CRM_Utils_Cache_Arraycache(array());
- $cache->set('defaults:domain', $this->domainDefaults);
- $cache->set('defaults:contact', $this->contactDefaults);
+ $cache->set('defaults_domain', $this->domainDefaults);
+ $cache->set('defaults_contact', $this->contactDefaults);
foreach ($this->mandates as $entity => $keyValues) {
foreach ($keyValues as $k => $v) {
$GLOBALS['civicrm_setting'][$entity][$k] = $v;