You are here

function matching_uninstall in Quiz 6.6

Same name and namespace in other branches
  1. 8.4 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()

Implementation of hook_uninstall().

File

question_types/matching/matching.install, line 20

Code

function matching_uninstall() {

  // Delete tables
  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.'));
}