From 5aa81b7ad2782b9a1fcf0b60450cd2b3d8946c2d Mon Sep 17 00:00:00 2001 From: Guy Owen Date: Tue, 17 Sep 2019 14:00:29 +1000 Subject: [PATCH] [SDPA-3237] Removed unrequired update_hook. (#39) --- tide_site.install | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/tide_site.install b/tide_site.install index 6d648d1..a31f6f8 100644 --- a/tide_site.install +++ b/tide_site.install @@ -150,20 +150,10 @@ function tide_site_update_8005() { } } -/** - * Updating summary_contents view. - */ -function tide_site_update_8006() { - $config_path = drupal_get_path('module', 'tide_site') . '/config/install'; - $source = new FileStorage($config_path); - $config_storage = \Drupal::service('config.storage'); - $config_storage->write('views.view.summary_contents', $source->read('views.view.summary_contents')); -} - /** * Add Prominence of Acknowledgement of Country field. */ -function tide_site_update_8007() { +function tide_site_update_8006() { module_load_include('inc', 'tide_core', 'includes/helpers'); $module_path = drupal_get_path('module', 'tide_site'); $config_location = [$module_path . '/config/install'];