You are here

function mailchimp_uninstall in Mailchimp 2.x

Same name and namespace in other branches
  1. 8 mailchimp.install \mailchimp_uninstall()
  2. 6.2 mailchimp.install \mailchimp_uninstall()
  3. 7.5 mailchimp.install \mailchimp_uninstall()
  4. 7 mailchimp.install \mailchimp_uninstall()
  5. 7.2 mailchimp.install \mailchimp_uninstall()
  6. 7.3 mailchimp.install \mailchimp_uninstall()
  7. 7.4 mailchimp.install \mailchimp_uninstall()

Implements hook_uninstall().

File

./mailchimp.install, line 40
Install, update and uninstall functions for the Mailchimp Module.

Code

function mailchimp_uninstall() {
  $queue = \Drupal::queue(MAILCHIMP_QUEUE_CRON);
  $queue
    ->deleteQueue();
}