diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2008-10-11 15:54:14 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2008-10-11 15:54:14 +0000 |
commit | da7f3a0ef021783c20f3c3fa4a1c57ed060dbfc2 (patch) | |
tree | 7278d5b5fe21914634b9b584d72eea72b10c2b19 /modules/system/system.admin.inc | |
parent | 3715107d368f8605e51e8df5d28de30e85c84c93 (diff) | |
download | brdo-da7f3a0ef021783c20f3c3fa4a1c57ed060dbfc2.tar.gz brdo-da7f3a0ef021783c20f3c3fa4a1c57ed060dbfc2.tar.bz2 |
#319699 follow-up by Dave Reid: Simplify required module hiding in admin/build/modules.
Diffstat (limited to 'modules/system/system.admin.inc')
-rw-r--r-- | modules/system/system.admin.inc | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/modules/system/system.admin.inc b/modules/system/system.admin.inc index 1d37f6b66..ae11a4557 100644 --- a/modules/system/system.admin.inc +++ b/modules/system/system.admin.inc @@ -637,16 +637,9 @@ function system_modules($form_state = array()) { // Used when checking if module implements a help page. $help_arg = module_exists('help') ? drupal_help_arg() : FALSE; - // The list of required modules. - $modules_required = drupal_required_modules(); - // Iterate through each of the modules. foreach ($files as $filename => $module) { $extra = array(); - // If the module is requried, set it to be so. - if (in_array($filename, $modules_required)) { - continue; - } $extra['enabled'] = (bool) $module->status; // If this module has dependencies, add them to the array. if (is_array($module->info['dependencies'])) { |