Commit a4ed897c authored by Seamus Lee's avatar Seamus Lee

Add in deprecated notice about code path being removed at end of 2019

parent 4e412e9c
......@@ -209,6 +209,10 @@ class CRM_Core_BAO_Cache_Psr16 {
if ($multisiteExtensionStatus == $extensions::STATUS_INSTALLED) {
$extension_version = civicrm_api3('Extension', 'get', ['key' => 'org.civicrm.multisite'])['values'][0]['version'];
if (version_compare($extension_version, '2.7', '<')) {
Civi::log()->warning(
'CRM_Core_BAO_Cache_PSR is deprecated for multisite 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[] = 'descendant groups for an org';
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment