diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2008-09-27 19:03:30 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2008-09-27 19:03:30 +0000 |
commit | 289b4f77a62b3eb1b598f75c0107d6a326061606 (patch) | |
tree | 3f13c9da095531bf03607a03b45a1f1c86e4f889 | |
parent | f19d83c4c2ccebbd8fbd6af246a07b0bedac72f6 (diff) | |
download | brdo-289b4f77a62b3eb1b598f75c0107d6a326061606.tar.gz brdo-289b4f77a62b3eb1b598f75c0107d6a326061606.tar.bz2 |
#229129 follow-up by Arancaytar, chx, and webchick: Instantiate module package property.
-rw-r--r-- | includes/module.inc | 1 | ||||
-rw-r--r-- | modules/system/system.admin.inc | 3 |
2 files changed, 1 insertions, 3 deletions
diff --git a/includes/module.inc b/includes/module.inc index 779d647f7..612754888 100644 --- a/includes/module.inc +++ b/includes/module.inc @@ -92,6 +92,7 @@ function module_rebuild_cache() { 'dependencies' => array(), 'dependents' => array(), 'description' => '', + 'package' => 'Other', 'version' => NULL, 'php' => DRUPAL_MINIMUM_PHP, ); diff --git a/modules/system/system.admin.inc b/modules/system/system.admin.inc index 4e1ad35b0..fead5c2fc 100644 --- a/modules/system/system.admin.inc +++ b/modules/system/system.admin.inc @@ -681,9 +681,6 @@ function system_modules($form_state = array()) { $extra['dependents'][] = $files[$dependent]->info['name'] . t(' (<span class="admin-disabled">disabled</span>)'); } } - if (!isset($module->info['package'])) { - $module->info['package'] = 'Other'; - } $form['modules'][$module->info['package']][$filename] = _system_modules_build_row($module->info, $extra); } // Add basic information to the fieldsets. |