You are here

function matching_uninstall in Quiz 8.4

Same name and namespace in other branches
  1. 6.6 question_types/matching/matching.install \matching_uninstall()
  2. 6.3 question_types/matching/matching.install \matching_uninstall()
  3. 6.4 question_types/matching/matching.install \matching_uninstall()
  4. 6.5 question_types/matching/matching.install \matching_uninstall()
  5. 7 question_types/matching/matching.install \matching_uninstall()
  6. 7.4 question_types/matching/matching.install \matching_uninstall()

Implements hook_uninstall().

File

question_types/matching/matching.install, line 21
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.
  entity_info_cache_clear();
  drupal_set_message(t('The Matching module has been uninstalled and related data has been deleted.'));
}