The name of hook_perm() has been changed to hook_permission() in Drupal 7. Attached patch also corrects a small typo.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | 715306-hook-perm-name-4-D7.patch | 1 KB | makononov |
| environment-indicator-perm.patch | 810 bytes | polubog |
The name of hook_perm() has been changed to hook_permission() in Drupal 7. Attached patch also corrects a small typo.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | 715306-hook-perm-name-4-D7.patch | 1 KB | makononov |
| environment-indicator-perm.patch | 810 bytes | polubog |
Comments
Comment #1
polubog commentedComment #2
mrfelton commentedFixed in CVS. Thanks:
http://drupal.org/cvs?commit=333568
Comment #4
makononov commentedLooks like this change got reverted somewhere. I've attached a new patch diffed off of the current master. Thanks!
Comment #5
makononov commentedBah, git threw me off. Sorry for the confusion, it's in there.