diff --git a/core/modules/node/node.install b/core/modules/node/node.install index a7167d7f90..557153eb59 100644 --- a/core/modules/node/node.install +++ b/core/modules/node/node.install @@ -280,10 +280,3 @@ function node_update_8700() { $definition_update_manager->updateEntityType($entity_type); $definition_update_manager->updateFieldStorageDefinition($definition_update_manager->getFieldStorageDefinition('uid', 'node')); } - -/** - * Clear caches due to updated views data. - */ -function node_update_8701() { - // Empty update to cause a cache flush so that views data is rebuilt. -} diff --git a/core/modules/node/node.post_update.php b/core/modules/node/node.post_update.php index 43e3cd6acc..913137757c 100644 --- a/core/modules/node/node.post_update.php +++ b/core/modules/node/node.post_update.php @@ -27,3 +27,10 @@ function node_post_update_configure_status_field_widget() { ])->save(); } } + +/** + * Clear caches due to updated views data. + */ +function node_post_update_node_revision_views_data() { + // Empty post-update hook. +}