You are here

recaptcha.install in reCAPTCHA 5.2

Provides install, updated, and uninstall functions for recaptcha.

File

recaptcha.install
View source
<?php

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

/**
 * Implementation of hook_uninstall().
 */
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');
}

Functions

Namesort descending Description
recaptcha_uninstall Implementation of hook_uninstall().