Project

General

Profile

Revision 2c8c2b87

Added by Assos Assos about 9 years ago

Weekly update of contrib modules

View differences:

drupal7/sites/all/modules/honeypot/honeypot.admin.inc
173 173
}
174 174

  
175 175
/**
176
 * Clear the honeypot form cache on submit.
176
 * Honeypot admin form submit callback.
177 177
 */
178 178
function honeypot_admin_form_submit($form, &$form_state) {
179
  // Create CSS file for honeypot.
180
  honeypot_create_css($form_state['values']['honeypot_element_name']);
181

  
182
  // Clear the Honeypot form cache on submit.
179 183
  cache_clear_all('honeypot_protected_forms', 'cache');
180 184
}

Also available in: Unified diff