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')) {