removed uuids from configs, and removed some depcreated code from update hook

This commit is contained in:
2021-12-04 14:42:40 +00:00
parent dad1ffc746
commit 0de22b7e90
16 changed files with 0 additions and 20 deletions

View File

@ -100,14 +100,9 @@ function opencase_entities_update_80198() {
function opencase_entities_update_80197() {
//check if the table exists first. If not, then create the entity.
if(!db_table_exists('oc_organisation')) {
\Drupal::entityTypeManager()->clearCachedDefinitions();
\Drupal::entityDefinitionUpdateManager()
->installEntityType(\Drupal::entityTypeManager()->getDefinition('oc_organisation'));
}
else {
return 'Organisation entity already exists';
}
}
function opencase_entities_update_80192(&$sandbox) {