You are here

function captcha_clear_captcha_placement_cache_submit in CAPTCHA 7

Submit callback; clear CAPTCHA placement cache.

1 string reference to 'captcha_clear_captcha_placement_cache_submit'
captcha_admin_settings in ./captcha.admin.inc
Form builder function for the general CAPTCHA configuration.

File

./captcha.admin.inc, line 419
Functionality and helper functions for CAPTCHA administration.

Code

function captcha_clear_captcha_placement_cache_submit($form, &$form_state) {
  variable_del('captcha_placement_map_cache');
  drupal_set_message(t('Cleared the CAPTCHA placement cache.'));
}