You are here

ascii_art_captcha.install in CAPTCHA Pack 6

Install, update and uninstall functions for the ASCII ART CAPTCHA module.

File

ascii_art_captcha/ascii_art_captcha.install
View source
<?php

/**
 * @file
 * Install, update and uninstall functions for the ASCII ART CAPTCHA module.
 */

/**
 * On uninstall: remove module variables and clear variables cache
 */
function ascii_art_captcha_uninstall() {
  db_query("DELETE FROM {variable} WHERE name LIKE 'ascii_art_captcha_%'");
  cache_clear_all('variables', 'cache');
}

Functions

Namesort descending Description
ascii_art_captcha_uninstall On uninstall: remove module variables and clear variables cache