You are here

function mailchimp_cache_clear_member in Mailchimp 7.4

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

Clear a mailchimp user memberinfo cache.

@string $list_id @string $email

4 calls to mailchimp_cache_clear_member()
mailchimp_process_webhook in ./mailchimp.module
Process a webhook post from Mailchimp.
mailchimp_subscribe_process in ./mailchimp.module
Wrapper around MailchimpLists::addOrUpdateMember().
mailchimp_unsubscribe_process in ./mailchimp.module
Unsubscribe a member from a list.
mailchimp_update_member_process in ./mailchimp.module
Wrapper around MailchimpLists::updateMember().

File

./mailchimp.module, line 1387
Mailchimp module.

Code

function mailchimp_cache_clear_member($list_id, $email) {
  cache_clear_all($list_id . '-' . $email, 'cache_mailchimp');
}