function text_captcha_uninstall in CAPTCHA 6
Same name and namespace in other branches
- 5.3 text_captcha/text_captcha.install \text_captcha_uninstall()
On uninstall: remove module variables and clear variable cache
File
- text_captcha/
text_captcha.install, line 6
Code
function text_captcha_uninstall() {
db_query("DELETE FROM {variable} WHERE name LIKE 'text_captcha_%'");
cache_clear_all('variables', 'cache');
}