You are here

function mailchimp_cache_clear_campaign in Mailchimp 7.2

Same name and namespace in other branches
  1. 8 mailchimp.module \mailchimp_cache_clear_campaign()
  2. 7.5 mailchimp.module \mailchimp_cache_clear_campaign()
  3. 7.3 mailchimp.module \mailchimp_cache_clear_campaign()
  4. 7.4 mailchimp.module \mailchimp_cache_clear_campaign()
  5. 2.x mailchimp.module \mailchimp_cache_clear_campaign()

Clear a mailchimp activity cache.

1 call to mailchimp_cache_clear_campaign()
mailchimp_process_webhook in ./mailchimp.module
Process a webhook post from MailChimp.

File

./mailchimp.module, line 398
Mailchimp module.

Code

function mailchimp_cache_clear_campaign($campaign_id) {
  cache_clear_all('mailchimp_campaign_' . $campaign_id, 'cache');
}