diff --git a/core/modules/help/help.admin.inc b/core/modules/help/help.admin.inc index a3bea9e..a549263 100644 --- a/core/modules/help/help.admin.inc +++ b/core/modules/help/help.admin.inc @@ -6,18 +6,6 @@ */ /** - * Page callback: Prints a page listing a glossary of Drupal terminology. - * - * @see help_menu() - */ -function help_main() { - // Add CSS. - drupal_add_css(drupal_get_path('module', 'help') . '/help.css'); - $output = '

' . t('Help topics') . '

' . t('Help is available on the following items:') . '

' . help_links_as_list(); - return $output; -} - -/** * Page callback: Prints a page listing general help for a module. * * @param $name @@ -52,38 +40,3 @@ function help_page($name) { } return $output; } - -/** - * Provides a formatted list of available help topics. - * - * @return - * A string containing the formatted list. - */ -function help_links_as_list() { - $empty_arg = drupal_help_arg(); - $module_info = system_rebuild_module_data(); - - $modules = array(); - foreach (module_implements('help') as $module) { - if (module_invoke($module, 'help', "admin/help#$module", $empty_arg)) { - $modules[$module] = $module_info[$module]->info['name']; - } - } - asort($modules); - - // Output pretty four-column list. - $count = count($modules); - $break = ceil($count / 4); - $output = '
'; - - return $output; -}