You are here

function mailchimp_lists_delete_multiple in Mailchimp 7.2

Deletes multiple lists by ID.

@array $list_ids An array of contact IDs to delete.

Return value

bool TRUE on success, FALSE otherwise.

2 calls to mailchimp_lists_delete_multiple()
MailchimpListsBasicTestCase::testMailchimpListCRUD in modules/mailchimp_lists/tests/mailchimp_lists.test
Tests Create, Read, Update, and Delete entity operations.
mailchimp_lists_delete_list_form_submit in modules/mailchimp_lists/includes/mailchimp_lists.admin.inc
Submit handler for mailchimp_lists_delete_list_form().

File

modules/mailchimp_lists/mailchimp_lists.module, line 1144
Mailchimp lists module.

Code

function mailchimp_lists_delete_multiple($list_ids) {
  return entity_get_controller('mailchimp_list')
    ->delete($list_ids);
}