function mailchimp_uninstall in Mailchimp 7.3
Same name and namespace in other branches
- 8 mailchimp.install \mailchimp_uninstall()
- 6.2 mailchimp.install \mailchimp_uninstall()
- 7.5 mailchimp.install \mailchimp_uninstall()
- 7 mailchimp.install \mailchimp_uninstall()
- 7.2 mailchimp.install \mailchimp_uninstall()
- 7.4 mailchimp.install \mailchimp_uninstall()
- 2.x mailchimp.install \mailchimp_uninstall()
Implements hook_uninstall().
File
- ./
mailchimp.install, line 69 - Install, update and uninstall functions for the mailchimp module.
Code
function mailchimp_uninstall() {
variable_del('mailchimp_api_key');
variable_del('mailchimp_batch_limit');
$queue = DrupalQueue::get(MAILCHIMP_QUEUE_CRON);
$queue
->deleteQueue();
$queue = DrupalQueue::get(MAILCHIMP_BATCH_QUEUE_CRON);
$queue
->deleteQueue();
}