You are here

function google_captcha_uninstall in Google Captcha 7

Implements hook_uninstall().

File

./google_captcha.install, line 11
Provides install, updated, and uninstall functions for google_captcha.

Code

function google_captcha_uninstall() {
  db_delete('variable')
    ->condition('name', 'google_captcha_%', 'LIKE')
    ->execute();
  cache_clear_all('variables', 'cache');
}