From 3753b4e25c7d25c32a1ac566d4d57f9a2e181862 Mon Sep 17 00:00:00 2001 From: naomi Date: Thu, 11 Nov 2021 08:42:15 +0000 Subject: [PATCH] removed working-out code --- modules/opencase_cases/opencase_cases.install | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/modules/opencase_cases/opencase_cases.install b/modules/opencase_cases/opencase_cases.install index cad3750..3c6c8c7 100644 --- a/modules/opencase_cases/opencase_cases.install +++ b/modules/opencase_cases/opencase_cases.install @@ -1,24 +1,5 @@ clearCachedDefinitions(); - \Drupal::entityDefinitionUpdateManager() - ->installEntityType(\Drupal::entityTypeManager()->getDefinition('oc_case_provision')); - } -} - -/* remove it again*/ -function opencase_cases_update_8024() { - $entity_update_manager = \Drupal::entityDefinitionUpdateManager(); - $entity_type = $entity_update_manager->getEntityType('oc_case_provision'); - $entity_update_manager->uninstallEntityType($entity_type); -} - function opencase_cases_update_8025() { //check if the table exists first. If not, then create the entity. if(!db_table_exists('oc_case_provision')) {