function math_captcha_uninstall in CAPTCHA Pack 8
Same name and namespace in other branches
- 5 math_captcha/math_captcha.install \math_captcha_uninstall()
- 6 math_captcha/math_captcha.install \math_captcha_uninstall()
- 7 math_captcha/math_captcha.install \math_captcha_uninstall()
Implements hook_uninstall().
File
- math_captcha/
math_captcha.install, line 11 - Install, update and uninstall functions for the module.
Code
function math_captcha_uninstall() {
// On uninstall: remove module variables and clear variables cache.
db_query("DELETE FROM {config} WHERE name LIKE 'math_captcha_%'");
drupal_flush_all_caches();
}