function matching_uninstall in Quiz 7
Same name and namespace in other branches
- 8.4 question_types/matching/matching.install \matching_uninstall()
- 6.6 question_types/matching/matching.install \matching_uninstall()
- 6.3 question_types/matching/matching.install \matching_uninstall()
- 6.4 question_types/matching/matching.install \matching_uninstall()
- 6.5 question_types/matching/matching.install \matching_uninstall()
- 7.4 question_types/matching/matching.install \matching_uninstall()
Implements hook_uninstall().
File
- question_types/
matching/ matching.install, line 24 - matching install file.
Code
function matching_uninstall() {
// Delete tables
// TODO The drupal_(un)install_schema functions are called automatically in D7.
// drupal_uninstall_schema('matching')
// Delete data from other tables
// Clear the cache.
cache_clear_all('variables', 'cache');
drupal_set_message(t('The Matching module has been uninstalled and related data has been deleted.'));
}