From da7f3a0ef021783c20f3c3fa4a1c57ed060dbfc2 Mon Sep 17 00:00:00 2001 From: Angie Byron Date: Sat, 11 Oct 2008 15:54:14 +0000 Subject: #319699 follow-up by Dave Reid: Simplify required module hiding in admin/build/modules. --- modules/system/system.admin.inc | 7 ------- 1 file changed, 7 deletions(-) (limited to 'modules/system/system.admin.inc') 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'])) { -- cgit v1.2.3