Index: coder_review/includes/coder_review_7x.inc =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/coder/coder_review/includes/coder_review_7x.inc,v retrieving revision 1.37 diff -u -p -r1.37 coder_review_7x.inc --- coder_review/includes/coder_review_7x.inc 5 Sep 2009 11:01:10 -0000 1.37 +++ coder_review/includes/coder_review_7x.inc 20 Sep 2009 07:45:37 -0000 @@ -239,13 +239,8 @@ function coder_review_7x_reviews() { // N/A - http://drupal.org/node/224333#international_item --- Added a new top level admin item, 'international'. // http://drupal.org/node/224333#menu_file_path - array( - '#type' => 'regex', - '#source' => 'allphp', - '#function' => '_(menu|theme)$', - '#value' => '[\'"](file|file path|path)[\'"]', - '#warning_callback' => '_coder_review_7x_menu_file_path_warning', - ), + // See http://drupal.org/node/570478 and http://drupal.org/node/497118 - file, file + // path and path now allowed. // http://drupal.org/node/224333#menu_callback_array --- Menu callbacks should return an array; hello hook_page_alter() @@ -1787,18 +1782,6 @@ function _coder_review_7x_php_permission ); } -function _coder_review_7x_menu_file_path_warning() { - return array( - '#warning' => t('The "file", "path" and "file path" keys have been removed from !hook_menu() and !hook_theme().', - array( - '!hook_menu()' => theme('drupalapi', 'hook_menu()', 7), - '!hook_theme()' => theme('drupalapi', 'hook_theme()', 7), - ) - ), - '#link' => 'http://drupal.org/node/224333#menu_file_path', - ); -} - function _coder_review_7x_hook_menu_link_alter_warning() { return array( '#warning' => t('The parameters to !hook_menu_link_alter() have changed.',