You are here

google_captcha.install in Google Captcha 7

Provides install, updated, and uninstall functions for google_captcha.

File

google_captcha.install
View source
<?php

/**
 * @file
 * Provides install, updated, and uninstall functions for google_captcha.
 */

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

Functions

Namesort descending Description
google_captcha_uninstall Implements hook_uninstall().