phrase_captcha.install in CAPTCHA Pack 7
Same filename and directory in other branches
Install, update and uninstall functions for the PHRASE CAPTCHA module.
File
text_captcha/phrase_captcha/phrase_captcha.installView source
<?php
/**
* @file
* Install, update and uninstall functions for the PHRASE CAPTCHA module.
*/
/**
* Implements hook_uninstall().
* On uninstall: remove module variables and clear variables cache
*/
function phrase_captcha_uninstall() {
db_query("DELETE FROM {variable} WHERE name LIKE 'phrase_captcha_%'");
cache_clear_all('variables', 'cache');
}
Functions
Name | Description |
---|---|
phrase_captcha_uninstall | Implements hook_uninstall(). On uninstall: remove module variables and clear variables cache |