From f3e5e2fefd0eace2eff715b29305e5b37065a851 Mon Sep 17 00:00:00 2001 From: webchick <webchick@24967.no-reply.drupal.org> Date: Tue, 27 Nov 2012 16:57:00 -0800 Subject: [PATCH] Issue #1850418 by xjm: Provide D7 -> D8 Views upgrade path in contrib, not core. --- core/modules/views/views.install | 49 -------------------------------- 1 file changed, 49 deletions(-) diff --git a/core/modules/views/views.install b/core/modules/views/views.install index 88f648c44911..d395d0838221 100644 --- a/core/modules/views/views.install +++ b/core/modules/views/views.install @@ -26,52 +26,3 @@ function views_schema() { return $schema; } - -/** - * Implements hook_update_last_removed(). - */ -function views_update_last_removed() { - return 7301; -} - -/** - * Convert settings to the config system. - */ -function views_update_8000() { - update_variables_to_config('views.settings', array( - 'views_ui_show_listing_filters' => 'ui.show.listing_filters', - 'views_ui_show_master_display' => 'ui.show.master_display', - 'views_ui_show_advanced_column' => 'ui.show.advanced_column', - 'views_ui_display_embed' => 'ui.show.display_embed', - 'views_exposed_filter_any_label' => 'exposed_filter_any_label', - 'views_ui_always_live_preview' => 'ui.always_live_preview', - 'views_ui_always_live_preview_button' => 'ui.always_live_preview_button', - 'views_ui_show_preview_information' => 'ui.show.preview_information', - 'views_ui_show_sql_query_where' => 'ui.show.sql_query.where', - 'views_ui_show_sql_query' => 'ui.show_sql.query.enabled', - 'views_ui_show_performance_statistics' => 'ui.show.performance_statistics', - 'views_show_additional_queries' => 'ui.show.additional_queries', - 'views_skip_cache' => 'skip_cache', - 'views_sql_signature' => 'sql_signature', - 'views_no_javascript' => 'no_javascript', - 'views_devel_output' => 'debug.output', - 'views_devel_region' => 'debug.region', - 'views_display_extenders' => 'display_extenders', - )); -} - -/** - * Rename the {cache_views} and {cache_views_data} tables. - */ -function views_update_8001() { - db_rename_table('cache_views', 'cache_views_info'); - db_rename_table('cache_views_data', 'cache_views_results'); -} - -/** - * Remove the {views_view} and {views_display} table. - */ -function views_update_8002() { - db_drop_table('views_view'); - db_drop_table('views_display'); -} -- GitLab