function mailchimp_lists_uninstall in Mailchimp 7.5
Same name and namespace in other branches
- 7.2 modules/mailchimp_lists/mailchimp_lists.install \mailchimp_lists_uninstall()
- 7.3 modules/mailchimp_lists/mailchimp_lists.install \mailchimp_lists_uninstall()
- 7.4 modules/mailchimp_lists/mailchimp_lists.install \mailchimp_lists_uninstall()
Implements hook_uninstall().
File
- modules/
mailchimp_lists/ mailchimp_lists.install, line 11 - 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();
}