function multichoice_uninstall in Quiz 7.4
Same name and namespace in other branches
- 8.6 question_types/quiz_multichoice/quiz_multichoice.install \multichoice_uninstall()
- 8.4 question_types/multichoice/multichoice.install \multichoice_uninstall()
- 8.5 question_types/quiz_multichoice/quiz_multichoice.install \multichoice_uninstall()
- 5.2 multichoice.install \multichoice_uninstall()
- 6.6 question_types/multichoice/multichoice.install \multichoice_uninstall()
- 6.2 multichoice.install \multichoice_uninstall()
- 6.3 question_types/multichoice/multichoice.install \multichoice_uninstall()
- 6.4 question_types/multichoice/multichoice.install \multichoice_uninstall()
- 6.5 question_types/multichoice/multichoice.install \multichoice_uninstall()
- 7.6 question_types/multichoice/multichoice.install \multichoice_uninstall()
- 7 question_types/multichoice/multichoice.install \multichoice_uninstall()
- 7.5 question_types/multichoice/multichoice.install \multichoice_uninstall()
Implements hook_uninstall().
File
- question_types/
multichoice/ multichoice.install, line 223 - Sponsored by: Norwegian Centre for Telemedicine Code: falcon
Code
function multichoice_uninstall() {
// TODO The drupal_(un)install_schema functions are called automatically in D7.
// drupal_uninstall_schema('multichoice')
$var = array(
'multichoice_def_scoring',
'multichoice_def_num_of_alts',
);
foreach ($var as $v) {
variable_del($v);
}
drupal_set_message(t("The multichoice module has been uninstalled. multichoice nodes may still exist, but they will not function properly."));
}