function answers_lock_example_uninstall in Answers 7.4
Implements hook_uninstall().
File
- answers_lock_example/
answers_lock_example.install, line 21 - An example module illustrating how to use the answers_lock api.
Code
function answers_lock_example_uninstall() {
variable_del('answers_lock_example_lock_questions_p');
foreach (answers_all_questions() as $question) {
answers_question_lock_unset($question, 'answers_lock_example');
}
}