From 801462956bdad914789509d3ac91f837652c68ae Mon Sep 17 00:00:00 2001 From: Marton Kiss Date: Mon, 12 Jan 2015 09:45:27 +0100 Subject: [PATCH] Enable SMTP module to support custom SMTP configuration Install and enable SMTP module, support custom configuration of outgoing email server. Change-Id: I017f1a9728021ddb1e8232fef0ed6dbabb84799a --- drupal-org.make | 4 ++++ groups.info | 1 + groups.install | 10 ++++++++++ 3 files changed, 15 insertions(+) diff --git a/drupal-org.make b/drupal-org.make index d23f2a5..340934d 100644 --- a/drupal-org.make +++ b/drupal-org.make @@ -593,6 +593,10 @@ projects[markdown][type] = "module" projects[markdown][subdir] = "contrib" projects[markdown][version] = "1.2" +projects[smtp][type] = "module" +projects[smtp][subdir] = "contrib" +projects[smtp][version] = "1.2" + ; Contributed themes. projects[zen][type] = "theme" diff --git a/groups.info b/groups.info index c620625..f1592a2 100644 --- a/groups.info +++ b/groups.info @@ -81,6 +81,7 @@ dependencies[] = views dependencies[] = views_bulk_operations dependencies[] = views_ui dependencies[] = votingapi +dependencies[] = smtp ; Install commons specific modules dependencies[] = commons_activity_streams diff --git a/groups.install b/groups.install index 535a663..d36f704 100644 --- a/groups.install +++ b/groups.install @@ -224,6 +224,16 @@ function groups_update_7111() { drupal_flush_all_caches(); } +/** + * Enable smtp module. + */ +function groups_update_7112() { + if (!module_exists('smtp')) { + module_enable(array('smtp')); + drupal_flush_all_caches(); + } +} + /** * Add markdown filter with permissions. */