From ce19c671106df767202972d22736db3582f6423b Mon Sep 17 00:00:00 2001 From: Angie Byron Date: Mon, 21 Jun 2010 02:27:47 +0000 Subject: #293223 follow-up by David_Rothstein: Roll back 'Hide required core modules'. This was removing useful information to both new and experienced site builders, as well as hiding critical 'help' links. --- modules/system/system.module | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'modules/system/system.module') diff --git a/modules/system/system.module b/modules/system/system.module index 338d6ab8c..d8ad21f16 100644 --- a/modules/system/system.module +++ b/modules/system/system.module @@ -2263,6 +2263,12 @@ function _system_rebuild_module_data() { // Merge in defaults and save. $modules[$key]->info = $module->info + $defaults; + // Install profiles are hidden by default, unless explicitly specified + // otherwise in the .info file. + if ($key == $profile && !isset($modules[$key]->info['hidden'])) { + $modules[$key]->info['hidden'] = TRUE; + } + // Invoke hook_system_info_alter() to give installed modules a chance to // modify the data in the .info files if necessary. $type = 'module'; -- cgit v1.2.3