summaryrefslogtreecommitdiffstats
path: root/math_captcha/math_captcha.install
blob: ab9a677c24f651bac5288b8bb9c070ede90e9576 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<?php

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

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