From 5142b7881aea0e7671475c3acf841558c8b4e3ba Mon Sep 17 00:00:00 2001 From: webchick Date: Wed, 27 Feb 2013 21:42:15 -0500 Subject: [PATCH] Issue #1919420 by sun: Remove datetime upgrade path check from its hook_install(). --- core/modules/datetime/datetime.install | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/core/modules/datetime/datetime.install b/core/modules/datetime/datetime.install index df1ed81bdd5..e0362a897f7 100644 --- a/core/modules/datetime/datetime.install +++ b/core/modules/datetime/datetime.install @@ -21,21 +21,3 @@ function datetime_field_schema($field) { ); return array('columns' => $db_columns, 'indexes' => $indexes); } - -/** - * Install the new to D8 Datetime module. - * - * As part of adding this new module to Drupal 8, the Datetime namespace is now - * reserved for this module. This is a possible conflict with a popular contrib - * field DateTime that existed in D7. Hence, any Datetime fields that may have - * existed prior to D8 need to renamed for later upgrade by contrib modules like - * the Date module. - */ -function datetime_install() { - db_update('field_config') - ->fields(array( - 'type' => 'datetime_old', - )) - ->condition('type', 'datetime') - ->execute(); -}