From 224ba1517c535a90c7728acbc2837e29f37d2fdb Mon Sep 17 00:00:00 2001 From: Joe Corall Date: Mon, 3 Jun 2024 15:20:46 -0400 Subject: [PATCH] [minor] Remove matomo from other dependencies But keep the image around until June 2025 for continued support until then --- drupal/rootfs/etc/islandora/utilities.sh | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/drupal/rootfs/etc/islandora/utilities.sh b/drupal/rootfs/etc/islandora/utilities.sh index a49b7a57..cf9f566e 100755 --- a/drupal/rootfs/etc/islandora/utilities.sh +++ b/drupal/rootfs/etc/islandora/utilities.sh @@ -580,27 +580,6 @@ function create_solr_core_with_default_config { create_solr_core "${site}" } -# Install matomo and configure. -function configure_matomo_module { - local site site_url site_id matomo_url matomo_http_url - - if ! drush pm-list --format=string --type=module --status=enabled --no-core | grep -q matomo; then - echo "matomo is not installed. Skipping configuration" - return 0 - fi - - site="${1}" - shift - site_url=$(drupal_site_env "${site}" "SITE_URL") - site_id=$(($(site_index "${site}") + 1)) - matomo_url=$(drupal_site_env "${site}" "MATOMO_URL") - matomo_http_url="http${matomo_url#https}" - - drush -l "${site_url}" -y config-set matomo.settings site_id "${site_id}" - drush -l "${site_url}" -y config-set matomo.settings url_http "${matomo_http_url}" - drush -l "${site_url}" -y config-set matomo.settings url_https "${matomo_url}" -} - # Configure Openseadragon to point use cantaloupe. function configure_openseadragon { local site site_url cantaloupe_url