It is just that on every page load usercomment_access_check and usercomment_menu_access are always called.
Maybe this is a performance issue that should be fixed.

Comments

rschwab’s picture

Version: 6.x-1.0-beta1 » 6.x-2.x-dev
Status: Needs review » Closed (fixed)

This seems to have been fixed at some point between beta and 2.x dev. usercoment_access_check() is only called when dealing with comments (as it should), and the other function doesn't even exist anymore.