You are here

function mailchimp_clear_list_cache_form_submit in Mailchimp 7.3

Same name and namespace in other branches
  1. 7.5 includes/mailchimp.admin.inc \mailchimp_clear_list_cache_form_submit()
  2. 7.4 includes/mailchimp.admin.inc \mailchimp_clear_list_cache_form_submit()

Handler for lists cache clear form.

File

includes/mailchimp.admin.inc, line 67
MailChimp module admin settings.

Code

function mailchimp_clear_list_cache_form_submit($form, &$form_state) {
  mailchimp_get_lists(array(), TRUE);
  drupal_set_message(t('MailChimp List cache cleared.'));
}