This module implements hook_access () very strangely.
Check out the userplus_access($perm) function and the doco for hook_access and you will see what I mean.
This module implements hook_access () very strangely.
Check out the userplus_access($perm) function and the doco for hook_access and you will see what I mean.
Comments
Comment #1
agileware commentedOK, I see why now.
It is called from hook_menu to determine menu access.
In that case userplus_access($perm) should be renamed to userplus_menu_access($perm) or something like that so there is no naming conflict with hook_access().
Comment #2
marcp commentedThanks for catching that! Commited a fix to DRUPAL-6--2 branch.