function hook_answers_best_answer_unset in Answers 7.4
Lets modules know when a best answer is removed.
Parameters
object $question: The question for which best answer has been set.
object $old_answer: The previous best answer for the question.
2 invocations of hook_answers_best_answer_unset()
- answers_best_answer_flag in answers_best_answer/
answers_best_answer.module - Implements hook_flag().
- answers_best_answer_flag_unflag in answers_best_answer/
answers_best_answer.module - Implements hook_flag_unflag().
File
- answers_best_answer/
answers_best_answer.api.php, line 35 - Answers_best_answer hooks.
Code
function hook_answers_best_answer_unset($question, $old_answer) {
// Best answer unset.
}