diff options
author | Dries Buytaert <dries@buytaert.net> | 2007-04-18 20:42:23 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2007-04-18 20:42:23 +0000 |
commit | 3d8febbaa53bd7179cc934909544a606f48f10b8 (patch) | |
tree | 35c183f08dd3811d770a1670307c027ee7305799 | |
parent | 318ac983e27067d1a9bc23b531b0da70ab2ffb7c (diff) | |
download | brdo-3d8febbaa53bd7179cc934909544a606f48f10b8.tar.gz brdo-3d8febbaa53bd7179cc934909544a606f48f10b8.tar.bz2 |
- Patch #132018 by alienbrain: replace instances of _module_parse_info_file() with drupal_parse_info_file().
-rw-r--r-- | modules/help/help.module | 2 | ||||
-rw-r--r-- | modules/system/system.module | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/modules/help/help.module b/modules/help/help.module index bacdf616d..86cb40245 100644 --- a/modules/help/help.module +++ b/modules/help/help.module @@ -111,7 +111,7 @@ function help_page() { $name = arg(2); $output = ''; if (module_hook($name, 'help')) { - $module = _module_parse_info_file(drupal_get_path('module', $name) .'/'. $name .'.info'); + $module = drupal_parse_info_file(drupal_get_path('module', $name) .'/'. $name .'.info'); drupal_set_title($module['name']); $temp = module_invoke($name, 'help', "admin/help#$name"); diff --git a/modules/system/system.module b/modules/system/system.module index cbba2fe7b..0c2691e2f 100644 --- a/modules/system/system.module +++ b/modules/system/system.module @@ -1281,7 +1281,7 @@ function system_themes_form_submit($form_id, $form_values) { * Modules can be enabled or disabled and set for throttling if the throttle module is enabled. * The list of modules gets populated by module.info files, which contain each module's name, * description and dependencies. - * @sa _module_parse_info_file for information on module.info descriptors. + * @sa drupal_parse_info_file for information on module.info descriptors. * * Dependency checking is performed to ensure that a module cannot be enabled if the module has * disabled dependencies and also to ensure that the module cannot be disabled if the module has @@ -1700,7 +1700,7 @@ function system_modules_uninstall_confirm_form($form_values) { // Construct the hidden form elements and list items. foreach (array_filter($form_values['uninstall']) as $module => $value) { - $info = _module_parse_info_file(dirname(drupal_get_filename('module', $module)) .'/'. $module .'.info'); + $info = drupal_parse_info_file(dirname(drupal_get_filename('module', $module)) .'/'. $module .'.info'); $uninstall[] = $info['name']; $form['uninstall'][$module] = array('#type' => 'hidden', '#value' => 1, |