summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2010-01-12 06:09:04 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2010-01-12 06:09:04 +0000
commite1812b3353b6fe735e9a0dacf7e48b6eeb71d4cd (patch)
tree1ec7208428041a65d8b63be0ae4ad32338a95444 /modules
parent26417f9d0793c14c765481dfc10c7826562a39f1 (diff)
downloadbrdo-e1812b3353b6fe735e9a0dacf7e48b6eeb71d4cd.tar.gz
brdo-e1812b3353b6fe735e9a0dacf7e48b6eeb71d4cd.tar.bz2
#678628 follow-up by jhodgdon: Remove buggy and incorrect 'More Help' functionality from Help module.
Diffstat (limited to 'modules')
-rw-r--r--modules/help/help.test5
-rw-r--r--modules/node/node.module4
2 files changed, 0 insertions, 9 deletions
diff --git a/modules/help/help.test b/modules/help/help.test
index e15bd15e7..9edde2253 100644
--- a/modules/help/help.test
+++ b/modules/help/help.test
@@ -53,11 +53,6 @@ class HelpTestCase extends DrupalWebTestCase {
foreach ($this->modules as $module => $name) {
$this->assertLink($name, 0, t('Link properly added to @name (admin/help/@module)', array('@module' => $module, '@name' => $name)));
}
-
- // Verify that the "More help" links generated by menu.inc work properly.
- // Test on an out-of-the-way page.
- $this->drupalGet('admin/config/people/roles');
- $this->assertRaw(theme("more_help_link", array('url' => url('admin/help/user'))), t('"More help" link is functional.'));
}
/**
diff --git a/modules/node/node.module b/modules/node/node.module
index e6c176c6a..d4f77f14b 100644
--- a/modules/node/node.module
+++ b/modules/node/node.module
@@ -98,10 +98,6 @@ function node_help($path, $arg) {
$output .= '</dl>';
return $output;
- case 'admin/content':
- // Return a non-null value so that the 'more help' link is shown.
- return ' ';
-
case 'admin/structure/types/add':
return '<p>' . t('Individual content types can have different fields, behaviors, and permissions assigned to them.') . '</p>';