You are here

random_captcha_type.install in CAPTCHA Pack 7

Install, update and uninstall functions for the RANDOM CAPTCHA module.

File

random_captcha_type/random_captcha_type.install
View source
<?php

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

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

Functions

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