Compare:

http://api.drupal.org/api/function/hook_perm/7

with:

http://api.drupal.org/api/function/user_perm/7

Example code needs updating, and it's probably worth looking at the PHPDoc there too to see if it needs to be updated as well.

CommentFileSizeAuthor
#1 491490_hook_perm.patch1.57 KBdale42
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

dale42’s picture

FileSize
1.57 KB

Patch updates hook_perm description in system.api.php

http://api.drupal.org/api/function/page_example_perm/7, linked via page_examples.module, is already correct.

dale42’s picture

Status: Active » Needs review
tobiasb’s picture

Status: Needs review » Reviewed & tested by the community
Dries’s picture

Status: Reviewed & tested by the community » Fixed

Committed to CVS HEAD. Thanks.

Status: Fixed » Closed (fixed)
Issue tags: -Novice

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