summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2007-07-09 17:05:49 +0000
committerDries Buytaert <dries@buytaert.net>2007-07-09 17:05:49 +0000
commit4ff46202cbf1ef5d071c0eb86c52521a38c6534a (patch)
tree74a11d9535819b13a072eda56e125dd4499e99e9 /modules
parent7fce9ce5984313f53a08d92c5c6a9838c5a98b45 (diff)
downloadbrdo-4ff46202cbf1ef5d071c0eb86c52521a38c6534a.tar.gz
brdo-4ff46202cbf1ef5d071c0eb86c52521a38c6534a.tar.bz2
- Patch #157773 by pwolanin: remove node/%/% from comment_menu.
Diffstat (limited to 'modules')
-rw-r--r--modules/comment/comment.module12
1 files changed, 0 insertions, 12 deletions
diff --git a/modules/comment/comment.module b/modules/comment/comment.module
index ddc9b2347..1db4a3673 100644
--- a/modules/comment/comment.module
+++ b/modules/comment/comment.module
@@ -190,10 +190,6 @@ function comment_theme() {
);
}
-function _comment_view_access($node, $cid) {
- return $node && $cid;
-}
-
/**
* Implementation of hook_menu().
*/
@@ -253,14 +249,6 @@ function comment_menu() {
'access arguments' => array('view', 2),
'type' => MENU_CALLBACK,
);
- $items['node/%node/%'] = array(
- 'title' => 'View',
- 'page callback' => 'node_page_view',
- 'page arguments' => array(1, 2),
- 'access callback' => '_comment_view_access',
- 'access arguments' => array(1, 2),
- 'type' => MENU_CALLBACK,
- );
return $items;
}