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