Skip to content
Snippets Groups Projects
Commit f2f0f5ff authored by colemanw's avatar colemanw
Browse files

Obsolete api4 extension

parent 73f87625
No related branches found
No related tags found
No related merge requests found
{
"org.civicrm.api4": {
"obsolete": "5.19"
},
"uk.squiffle.kam": {
"obsolete": "5.12"
},
......
......@@ -334,12 +334,6 @@ class CiviUnitTestCase extends PHPUnit\Framework\TestCase {
// disable any left-over test extensions
CRM_Core_DAO::executeQuery('DELETE FROM civicrm_extension WHERE full_name LIKE "test.%"');
$extensions = \CRM_Extension_System::singleton()->getManager();
$api4Status = $extensions->getStatus('org.civicrm.api4');
if ($api4Status != $extensions::STATUS_INSTALLED && $api4Status != $extensions::STATUS_UNKNOWN) {
$extensions->enable(['org.civicrm.api4']);
}
// reset all the caches
CRM_Utils_System::flushCache();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment