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