function answers_lock_question_p in Answers 7.2
Same name and namespace in other branches
- 6.2 includes/answers.lock.inc \answers_lock_question_p()
- 7.3 includes/answers.lock.inc \answers_lock_question_p()
1 call to answers_lock_question_p()
- answers_reset_question_locks in includes/
answers.lock.inc
File
- includes/
answers.lock.inc, line 51 - Question locking functions for the 'Answers' module
Code
function answers_lock_question_p($question, $modules = NULL) {
if (!$modules) {
$modules = module_implements('answers_lock_question_p');
}
foreach ($modules as $module) {
if (module_invoke($module, 'answers_lock_question_p', $question)) {
return TRUE;
}
}
return FALSE;
}