From f762a7fcb747bca543895ecc186d3d787e2e58e0 Mon Sep 17 00:00:00 2001 From: Tristan Olive Date: Wed, 24 Apr 2013 17:45:35 -0400 Subject: [PATCH] BOINC environment configuration Fixed redirect loop problem when boinc_standard has not yet been reverted and is stuck on the garland theme. Set to boinc theme by default. Removed configuration of site_name and site_mail, which are set during install. Also removed site_mission and site_slogan, which are not used in the theme and should not be controlled by the feature. --- .../boinc_standard/boinc_standard.info | 4 --- .../boinc_standard/boinc_standard.module | 20 +++++++++++++ .../boinc_standard.strongarm.inc | 28 ------------------- 3 files changed, 20 insertions(+), 32 deletions(-) diff --git a/drupal/sites/all/features/boinc_standard/boinc_standard.info b/drupal/sites/all/features/boinc_standard/boinc_standard.info index 6715da0c19..b507192dbd 100644 --- a/drupal/sites/all/features/boinc_standard/boinc_standard.info +++ b/drupal/sites/all/features/boinc_standard/boinc_standard.info @@ -166,11 +166,7 @@ features[variable][] = "pathauto_user_supportsfeeds" features[variable][] = "pathauto_verbose" features[variable][] = "site_footer" features[variable][] = "site_frontpage" -features[variable][] = "site_mail" -features[variable][] = "site_mission" -features[variable][] = "site_name" features[variable][] = "site_offline" -features[variable][] = "site_slogan" features[variable][] = "tabtamer_tab_settings" features[variable][] = "theme_boinc_settings" features[variable][] = "theme_default" diff --git a/drupal/sites/all/features/boinc_standard/boinc_standard.module b/drupal/sites/all/features/boinc_standard/boinc_standard.module index a695c038c1..5667d4d8e8 100644 --- a/drupal/sites/all/features/boinc_standard/boinc_standard.module +++ b/drupal/sites/all/features/boinc_standard/boinc_standard.module @@ -1,3 +1,23 @@ value = 'home'; $export['site_frontpage'] = $strongarm; - $strongarm = new stdClass; - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ - $strongarm->api_version = 1; - $strongarm->name = 'site_mail'; - $strongarm->value = 'drupal.han@aei.mpg.de'; - $export['site_mail'] = $strongarm; - - $strongarm = new stdClass; - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ - $strongarm->api_version = 1; - $strongarm->name = 'site_mission'; - $strongarm->value = ''; - $export['site_mission'] = $strongarm; - - $strongarm = new stdClass; - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ - $strongarm->api_version = 1; - $strongarm->name = 'site_name'; - $strongarm->value = 'Einstein@Home'; - $export['site_name'] = $strongarm; - $strongarm = new stdClass; $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ $strongarm->api_version = 1; @@ -400,13 +379,6 @@ function boinc_standard_strongarm() { $strongarm->value = 0; $export['site_offline'] = $strongarm; - $strongarm = new stdClass; - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ - $strongarm->api_version = 1; - $strongarm->name = 'site_slogan'; - $strongarm->value = ''; - $export['site_slogan'] = $strongarm; - $strongarm = new stdClass; $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ $strongarm->api_version = 1;