From 95f0b3c8991e076c519f432b1e05197aea530e63 Mon Sep 17 00:00:00 2001 From: Eric Bremner Date: Thu, 2 Sep 2021 13:30:27 +0000 Subject: [PATCH 1/2] ISTWCMS-5045: removing structure sync --- uw_sites_all.info.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/uw_sites_all.info.yml b/uw_sites_all.info.yml index 8742b46..09295bc 100644 --- a/uw_sites_all.info.yml +++ b/uw_sites_all.info.yml @@ -112,7 +112,6 @@ dependencies: - 'drupal:simplesamlphp_custom_attributes' - 'drupal:simplify_menu' - 'drupal:sophron' - - 'drupal:structure_sync' - 'drupal:subpathauto' - 'drupal:system' - 'drupal:taxonomy' -- GitLab From 9ee68c17a5918982a05251b51c1ce6bdf9af6234 Mon Sep 17 00:00:00 2001 From: Eric Bremner Date: Thu, 2 Sep 2021 14:22:01 +0000 Subject: [PATCH 2/2] ISTWCMS-5045: adding update hook to uninstall structure sync --- uw_sites_all.install | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/uw_sites_all.install b/uw_sites_all.install index 28425ae..64d1829 100644 --- a/uw_sites_all.install +++ b/uw_sites_all.install @@ -176,3 +176,16 @@ function uw_sites_all_update_8106() { \Drupal::service('module_installer')->uninstall($modules); } + +/** + * Uninstall structure sync. + */ +function uw_sites_all_update_8107() { + + // Modules to uninstall. + $modules = [ + 'structure_sync', + ]; + + \Drupal::service('module_installer')->uninstall($modules); +} -- GitLab