function faq_ask_user_access_or in FAQ_Ask 6.2
Same name and namespace in other branches
- 6 faq_ask.module \faq_ask_user_access_or()
- 7 faq_ask.module \faq_ask_user_access_or()
Determines whether the current user has one of the given permissions.
1 string reference to 'faq_ask_user_access_or'
- faq_ask_menu in ./
faq_ask.module - Implementation of hook_menu().
File
- ./
faq_ask.module, line 71 - This module is an add-on to the FAQ module that allows users with the 'ask question' permission to create a question which will be queued for an 'expert' to answer.
Code
function faq_ask_user_access_or($string1, $string2) {
return user_access($string1) || user_access($string2);
}