function long_answer_uninstall in Quiz 6.4
Same name and namespace in other branches
- 8.4 question_types/long_answer/long_answer.install \long_answer_uninstall()
- 6.6 question_types/long_answer/long_answer.install \long_answer_uninstall()
- 6.3 question_types/long_answer/long_answer.install \long_answer_uninstall()
- 6.5 question_types/long_answer/long_answer.install \long_answer_uninstall()
- 7 question_types/long_answer/long_answer.install \long_answer_uninstall()
- 7.4 question_types/long_answer/long_answer.install \long_answer_uninstall()
Implementation of hook_uninstall().
File
- question_types/
long_answer/ long_answer.install, line 20 - Long answer questions.
Code
function long_answer_uninstall() {
// Delete tables
drupal_uninstall_schema('long_answer');
// Delete data from other tables
// Clear the cache.
cache_clear_all('variables', 'cache');
drupal_set_message(t('The Long Answer module has been uninstalled and related data has been deleted.'));
}