function support_page_user_access in Support Ticketing System 7
Same name and namespace in other branches
- 6 support.module \support_page_user_access()
Access callback for user support ticket pages.
1 string reference to 'support_page_user_access'
- support_menu in ./
support.module - Implementation of hook_menu().
File
- ./
support.module, line 2989 - support.module
Code
function support_page_user_access($account) {
return $account->uid && user_access('access content') && (user_access('create support_ticket content', $account) || _support_ticket_exists($account));
}