You are here

lost_character_captcha.install in CAPTCHA Pack 7

Install, update and uninstall functions for the LOST CHARACTER CAPTCHA module.

File

text_captcha/lost_character_captcha/lost_character_captcha.install
View source
<?php

/**
 * @file
 * Install, update and uninstall functions for the LOST CHARACTER CAPTCHA module.
 */

/**
 * Implements hook_uninstall().
 * On uninstall: remove module variables and clear variables cache
 */
function lost_character_captcha_uninstall() {
  db_query("DELETE FROM {variable} WHERE name LIKE 'lost_character_captcha_%'");
  cache_clear_all('variables', 'cache');
}

Functions

Namesort descending Description
lost_character_captcha_uninstall Implements hook_uninstall(). On uninstall: remove module variables and clear variables cache