You are here

function lost_character_captcha_uninstall in CAPTCHA Pack 8

Same name and namespace in other branches
  1. 5 text_captcha/lost_character_captcha/lost_character_captcha.install \lost_character_captcha_uninstall()
  2. 6 text_captcha/lost_character_captcha/lost_character_captcha.install \lost_character_captcha_uninstall()
  3. 7 text_captcha/lost_character_captcha/lost_character_captcha.install \lost_character_captcha_uninstall()

Implements hook_uninstall().

File

text_captcha/modules/lost_character_captcha/lost_character_captcha.install, line 11
Install, update and uninstall functions for the module.

Code

function lost_character_captcha_uninstall() {

  // On uninstall: remove module variables and clear variables cache.
  db_query("DELETE FROM {config} WHERE name LIKE 'lost_character_captcha_%'");
  drupal_flush_all_caches();
}