function captcha_uninstall in CAPTCHA 6
Same name and namespace in other branches
- 5.3 captcha.install \captcha_uninstall()
- 6.2 captcha.install \captcha_uninstall()
- 7 captcha.install \captcha_uninstall()
Implementation of hook_uninstall().
File
- ./
captcha.install, line 47
Code
function captcha_uninstall() {
drupal_uninstall_schema('captcha');
db_query("DELETE FROM {variable} WHERE name LIKE 'captcha_%'");
cache_clear_all('variables', 'cache');
}