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