From 207375959862717a601ebde211cfa34b85a99ff7 Mon Sep 17 00:00:00 2001 From: Sonny Kieu Date: Fri, 10 May 2019 14:16:49 +1000 Subject: [PATCH] [GOVCMSD7-190] Included Environment Indicator module. On-behalf-of: @salsadigitalauorg --- drupal-org.make | 1 + govcms.info | 1 + govcms.install | 9 +++++++++ 3 files changed, 11 insertions(+) diff --git a/drupal-org.make b/drupal-org.make index 5edad820a..c418a859f 100644 --- a/drupal-org.make +++ b/drupal-org.make @@ -41,6 +41,7 @@ projects[entityreference][patch][] = "https://www.drupal.org/files/issues/url_fo projects[entityreference][version] = "1.5" projects[entity][patch][2307807] = "https://www.drupal.org/files/issues/2307807-entity-reset-insert-1.patch" projects[entity][version] = "1.9" +projects[environment_indicator][version] = "2.9" projects[escape_admin][version] = "1.2" projects[event_log][version] = "1.4" projects[event_log][patch][] = "https://www.drupal.org/files/issues/event-log-request-password-2365895-2.patch" diff --git a/govcms.info b/govcms.info index 92a88e5bc..9733251df 100644 --- a/govcms.info +++ b/govcms.info @@ -55,6 +55,7 @@ dependencies[] = elements dependencies[] = entity dependencies[] = entitycache dependencies[] = entityreference +dependencies[] = environment_indicator dependencies[] = escape_admin dependencies[] = favicon dependencies[] = features diff --git a/govcms.install b/govcms.install index 19b20d867..0ef9f0796 100644 --- a/govcms.install +++ b/govcms.install @@ -1687,3 +1687,12 @@ function govcms_update_7202() { drupal_uninstall_modules(array('govcms_register'), FALSE); } } + +/** + * Enable Environment Indicator module. + */ +function govcms_update_7203() { + if (!module_exists('environment_indicator')) { + module_enable(array('environment_indicator')); + } +}