function mailchimp_clear_list_cache_form_submit in Mailchimp 7.4
Same name and namespace in other branches
- 7.5 includes/mailchimp.admin.inc \mailchimp_clear_list_cache_form_submit()
- 7.3 includes/mailchimp.admin.inc \mailchimp_clear_list_cache_form_submit()
Handler for lists cache clear form.
File
- includes/
mailchimp.admin.inc, line 163 - Mailchimp module admin settings.
Code
function mailchimp_clear_list_cache_form_submit($form, &$form_state) {
mailchimp_get_lists(array(), TRUE, TRUE);
drupal_set_message(t('Mailchimp List cache cleared.'));
}