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