function _shoutbox_user_page_access in Shoutbox 7.2
Same name and namespace in other branches
- 7 shoutbox_user/shoutbox_user.module \_shoutbox_user_page_access()
Access callback for user shouts
1 string reference to '_shoutbox_user_page_access'
- shoutbox_user_menu in shoutbox_user/
shoutbox_user.module - Implements hook_menu().
File
- shoutbox_user/
shoutbox_user.module, line 45
Code
function _shoutbox_user_page_access() {
if (user_access('access shoutbox') && user_access('access user profiles')) {
return TRUE;
}
return FALSE;
}