Index: modules/project_issue/project_issue.module =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/project_issue/project_issue.module,v retrieving revision 1.24 diff -u -p -r1.24 project_issue.module --- modules/project_issue/project_issue.module 18 Apr 2007 01:46:29 -0000 1.24 +++ modules/project_issue/project_issue.module 2 May 2007 19:33:06 -0000 @@ -239,19 +239,8 @@ function project_issue_menu($may_cache) 'type' => MENU_NORMAL_ITEM, ); - $access = user_access('create project issues'); - // Backwards-compatibility menu item so node/add/project_issue - // still works, even though the official type is "project-issue" - $items[] = array( - 'path' => 'node/add/project_issue', - 'title' => t('Issue'), - 'callback' => 'project_issue_add_page', - 'access' => $access, - 'type' => MENU_CALLBACK, - 'weight' => 1, - ); - // Reply to issues + $access = user_access('create project issues'); $items[] = array( 'path' => 'project/comments', 'title' => t('Comments'), @@ -315,21 +304,6 @@ function project_issue_menu($may_cache) } /** - * Backwards compatbility menu callback so node/add/project_issue - * still works, even though the default is now "project-issue". - */ -function project_issue_add_page($project = NULL, $category = NULL) { - $url = 'node/add/project-issue'; - if (!empty($project)) { - $url .= '/' . $project; - } - if (!empty($category)) { - $url .= '/' . $category; - } - drupal_goto(check_url($url)); -} - -/** * Adds the issues subtab to the edit tab on project nodes. */ function project_issue_project_edit_issues() {