You are here

function notify_user_access in Notify 6

Same name and namespace in other branches
  1. 7 notify.module \notify_user_access()

Checks access to notifications settings tab

1 string reference to 'notify_user_access'
notify_menu in ./notify.module
Implementation of hook_menu().

File

./notify.module, line 233
Notify module sends email 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'));
}