Closed (duplicate)
Project:
Coder
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
27 Mar 2009 at 15:43 UTC
Updated:
18 Oct 2009 at 13:15 UTC
Added a function to assist with user_access checking (for menu purposes) called mymodule_user_access(). Coder warns about the parameters not matching up with those for hook_access.
Parameters to hook_access() have changed (Drupal Docs)
The Coder rules should check for "function mymodule_access" not simply "function anyword_access."
Comments
Comment #1
stella commentedDuplicate of #575738: false positives for hook sniffing