Skip to content
This repository has been archived by the owner on Sep 30, 2024. It is now read-only.

Commit

Permalink
[SDPA-3237] Removed unrequired update_hook. (#39)
Browse files Browse the repository at this point in the history
  • Loading branch information
GROwen authored Sep 17, 2019
1 parent 4bbfbd3 commit 5aa81b7
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions tide_site.install
Original file line number Diff line number Diff line change
Expand Up @@ -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'];
Expand Down

0 comments on commit 5aa81b7

Please sign in to comment.