diff options
-rw-r--r-- | modules/comment/comment.module | 12 |
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; } |