You are here

function honeypot_admin_form_submit in Honeypot 6

Same name and namespace in other branches
  1. 7 honeypot.admin.inc \honeypot_admin_form_submit()

Clear the honeypot form cache on submit.

1 string reference to 'honeypot_admin_form_submit'
honeypot_admin_form in ./honeypot.admin.inc
Honeypot administration page.

File

./honeypot.admin.inc, line 166
Honeypot administration form.

Code

function honeypot_admin_form_submit($form, &$form_state) {
  cache_clear_all('honeypot_protected_forms', 'cache');
}