function _mailchimp_update_user in Mailchimp 6
Same name and namespace in other branches
- 5.2 mailchimp.module \_mailchimp_update_user()
- 5 mailchimp.module \_mailchimp_update_user()
Update the given user's subscrition to the given list
1 call to _mailchimp_update_user()
File
- ./
mailchimp.module, line 722 - Mailchimp module.
Code
function _mailchimp_update_user($list, $mail, $merge_vars, $q = NULL) {
if ($q || ($q = _mailchimp_get_api_object())) {
$q
->listUpdateMember($list['id'], $mail, $merge_vars);
}
return $success;
}