From 4ff46202cbf1ef5d071c0eb86c52521a38c6534a Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Mon, 9 Jul 2007 17:05:49 +0000 Subject: - Patch #157773 by pwolanin: remove node/%/% from comment_menu. --- modules/comment/comment.module | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'modules/comment/comment.module') 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; } -- cgit v1.2.3