function recaptcha_uninstall in reCAPTCHA 5.2
Same name and namespace in other branches
- 6.2 recaptcha.install \recaptcha_uninstall()
- 6 recaptcha.install \recaptcha_uninstall()
- 7.2 recaptcha.install \recaptcha_uninstall()
- 7 recaptcha.install \recaptcha_uninstall()
Implementation of hook_uninstall().
File
- ./
recaptcha.install, line 11 - Provides install, updated, and uninstall functions for recaptcha.
Code
function recaptcha_uninstall() {
// Delete all the recaptcha variables and then clear the variable cache
db_query("delete from {variable} where name like 'recaptcha_%'");
cache_clear_all('variables', 'cache');
}