root / drupal7 / sites / all / modules / recaptcha / recaptcha.install @ 5d7bc31a
1 | 85ad3d82 | Assos Assos | <?php |
---|---|---|---|
2 | |||
3 | /** |
||
4 | * @file |
||
5 | * Provides install, updated, and uninstall functions for recaptcha. |
||
6 | */ |
||
7 | |||
8 | /** |
||
9 | * Implements hook_uninstall(). |
||
10 | */ |
||
11 | function recaptcha_uninstall() { |
||
12 | // Delete all the recaptcha variables and then clear the variable cache |
||
13 | db_delete('variable') |
||
14 | ->condition('name', 'recaptcha_%', 'LIKE') |
||
15 | ->execute(); |
||
16 | cache_clear_all('variables', 'cache'); |
||
17 | } |