You are here

function mailchimp_lists_uninstall in Mailchimp 7.2

Same name and namespace in other branches
  1. 7.5 modules/mailchimp_lists/mailchimp_lists.install \mailchimp_lists_uninstall()
  2. 7.3 modules/mailchimp_lists/mailchimp_lists.install \mailchimp_lists_uninstall()
  3. 7.4 modules/mailchimp_lists/mailchimp_lists.install \mailchimp_lists_uninstall()

Implements hook_uninstall().

File

modules/mailchimp_lists/mailchimp_lists.install, line 132
Install, update and uninstall functions for the mailchimp_lists module.

Code

function mailchimp_lists_uninstall() {
  module_load_include('module', 'mailchimp_lists');
  $queue = DrupalQueue::get(MAILCHIMP_QUEUE_CRON);
  $queue
    ->deleteQueue();
}