The name of hook_perm() has been changed to hook_permission() in Drupal 7. Attached patch also corrects a small typo.

Comments

polubog’s picture

Assigned: polubog » Unassigned
mrfelton’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

makononov’s picture

Version: 7.x-1.0-alpha1 » 7.x-1.x-dev
Status: Closed (fixed) » Needs review
StatusFileSize
new1 KB

Looks like this change got reverted somewhere. I've attached a new patch diffed off of the current master. Thanks!

makononov’s picture

Status: Needs review » Closed (fixed)

Bah, git threw me off. Sorry for the confusion, it's in there.