function support_page_user_access in Support Ticketing System 6
Same name and namespace in other branches
- 7 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 2574 - support.module
Code
function support_page_user_access($account) {
return $account->uid && user_access('access content') && (user_access('create tickets', $account) || _support_ticket_exists($account));
}