random_captcha_type.install in CAPTCHA Pack 7
Same filename and directory in other branches
Install, update and uninstall functions for the RANDOM CAPTCHA module.
File
random_captcha_type/random_captcha_type.installView 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
Name![]() |
Description |
---|---|
random_captcha_type_uninstall | Implements hook_uninstall(). On uninstall: remove module variables and clear variables cache |