// civihr/uk.co.compucorp.civicrm.hrcore
'HRCore_Info',
- // nz.co.fuzion.entitysetting
- 'CiviCRM setting Spec',
-
];
// Handle Legacy Multisite caching group.
$extensions = CRM_Extension_System::singleton()->getManager();
$groups[] = 'descendant groups for an org';
}
}
+ $entitySettingExtensionStatus = $extensions->getStatus('nz.co.fuzion.entitysetting');
+ if ($multisiteExtensionStatus == $extensions::STATUS_INSTALLED) {
+ $extension_version = civicrm_api3('Extension', 'get', ['key' => 'nz.co.fuzion.entitysetting'])['values'][0]['version'];
+ if (version_compare($extension_version, '1.3', '<')) {
+ Civi::log()->warning(
+ 'CRM_Core_BAO_Cache_PSR is deprecated for entity setting extension, you should upgrade to the latest version to avoid this warning, this code will be removed at the end of 2019',
+ ['civi.tag' => 'deprecated']
+ );
+ $groups[] = 'CiviCRM setting Spec';
+ }
+ }
return $groups;
}