summaryrefslogtreecommitdiff
path: root/includes/install.core.inc
diff options
context:
space:
mode:
Diffstat (limited to 'includes/install.core.inc')
-rw-r--r--includes/install.core.inc5
1 files changed, 5 insertions, 0 deletions
diff --git a/includes/install.core.inc b/includes/install.core.inc
index 443ec8aa4..5e16023b2 100644
--- a/includes/install.core.inc
+++ b/includes/install.core.inc
@@ -1111,6 +1111,11 @@ function install_select_profile_form($form, &$form_state, $profile_files) {
include_once DRUPAL_ROOT . '/' . $profile->uri;
$details = install_profile_info($profile->name);
+ // Don't show hidden profiles. This is used by to hide the testing profile,
+ // which only exists to speed up test runs.
+ if ($details['hidden'] === TRUE) {
+ continue;
+ }
$profiles[$profile->name] = $details;
// Determine the name of the profile; default to file name if defined name