function _notifications_forum_user_forum_access in Forum notifications 6
Same name and namespace in other branches
- 7 notifications_forum.module \_notifications_forum_user_forum_access()
1 string reference to '_notifications_forum_user_forum_access'
- notifications_forum_menu in ./
notifications_forum.module - Implements hook_menu().
File
- ./
notifications_forum.module, line 151
Code
function _notifications_forum_user_forum_access($account) {
global $user;
return ($user->uid == $account->uid || $user->uid == 1) && notifications_access_user($account) && user_access('subscribe to taxonomy terms', $account);
}