[development] Deleting Cached Permissions
earnie at users.sourceforge.net
Thu Aug 23 13:33:36 UTC 2007
Quoting Ron Parker <sysop at scbbs.com>:
> That is: The user_access() function sets a static variable $perm =
> array(). Permissions are cached in this variable. Can I create a
> function in my module that can update the $perm variable that is set
> in the user_access() function of the node.module?
A variable declared within a function is private to the function unless
the function declares it as global.
More information about the development