public function MailChimpTest::listBatchUnsubscribe in Mailchimp 7.2
Emulates batch unsubscribe.
Overrides MCAPI::listBatchUnsubscribe
File
- tests/
mailchimp_tests.inc, line 131 - A virtual MailChimp API implementation for use in testing.
Class
- MailChimpTest
- @file A virtual MailChimp API implementation for use in testing.
Code
public function listBatchUnsubscribe($id, $emails, $delete_member = FALSE, $send_goodbye = TRUE, $send_notify = TRUE) {
foreach ($emails as $email) {
$this
->listUnsubscribe($id, $email, $delete_member, $send_goodbye, $send_notify);
}
}