diff --git a/core/modules/system/system.install b/core/modules/system/system.install index 653cb5a..ce06b7a 100644 --- a/core/modules/system/system.install +++ b/core/modules/system/system.install @@ -1265,9 +1265,6 @@ function system_update_8004() { // ensure they match the currently expected status. $manager = \Drupal::entityDefinitionUpdateManager(); foreach (array_keys(\Drupal::entityManager()->getDefinitions()) as $entity_type_id) { - if (is_null($manager->getEntityType($entity_type_id))) { - $manager->getEntityType($entity_type_id); - } $manager->updateEntityType($manager->getEntityType($entity_type_id)); } } diff --git a/core/modules/system/tests/fixtures/update/drupal-8.language-enabled.php b/core/modules/system/tests/fixtures/update/drupal-8.language-enabled.php index d16d7625de3f40c579cde4f10e269311cbe25e0f..6be5c24f5c101bc7fea607af617b4bc135a4401e 100644 GIT binary patch delta 302 zcmbQNx5jY7Eqet8^}NK~RCNVgI|cQe#Ju#<#Pn2k9WDhRP*2X!$w^Hv$;{7#$QM@@ zm!#(E6(?t;<|cv_O`gZ7u<_RxMiVTmVWuF=PtGq&)l01?NzE$;nYnotlRgtSk_#q> zu_(wu?8a)p`sRx)0$lu1*TKx4oX)Buiq*xF4O!(Gbv8fbQ{do5vPMCD@&YkQCB4+V VlFX9I_>#&396pBVpZt(d6aZ{9RtNw9 delta 34 qcmZ2uI9YGPt;wp)3Y#q%w=iy2W!7feJfD?=Ycs!q0>@+_0U-d(l?k{2