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