Révision 2c8c2b87
Ajouté par Assos Assos il y a presque 9 ans
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 |
} |
Formats disponibles : Unified diff
Weekly update of contrib modules