function random_captcha_type_uninstall in CAPTCHA Pack 7
Same name and namespace in other branches
- 8 random_captcha_type/random_captcha_type.install \random_captcha_type_uninstall()
- 5 random_captcha_type/random_captcha_type.install \random_captcha_type_uninstall()
- 6 random_captcha_type/random_captcha_type.install \random_captcha_type_uninstall()
Implements hook_uninstall(). On uninstall: remove module variables and clear variables cache
File
- random_captcha_type/
random_captcha_type.install, line 12 - Install, update and uninstall functions for the RANDOM CAPTCHA module.
Code
function random_captcha_type_uninstall() {
db_query("DELETE FROM {variable} WHERE name LIKE 'random_captcha_type_%'");
cache_clear_all('variables', 'cache');
}