function notify_user_access in Notify 7
Same name and namespace in other branches
- 6 notify.module \notify_user_access()
Checks access to notifications settings tab.
Do not start callback function with an underscore.
1 string reference to 'notify_user_access'
- notify_menu in ./
notify.module - Implements hook_menu().
File
- ./
notify.module, line 407 - Notify module sends e-mail digests of new content and comments.
Code
function notify_user_access($account = NULL) {
return $account->uid && ($GLOBALS['user']->uid == $account->uid && user_access('access notify') || user_access('administer notify'));
}