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