function answers_reset_question_lock in Answers 6.2
Same name and namespace in other branches
- 7.3 includes/answers.lock.inc \answers_reset_question_lock()
Reset the question lock for a single question
File
- includes/
answers.lock.inc, line 51 - Question locking functions for the 'Answers' module
Code
function answers_reset_question_lock($question) {
$modules = module_implements('answers_lock_question_p');
if (answers_lock_question_p($question, $modules)) {
answers_lock_question($question);
}
else {
answers_unlock_question($question);
}
}