You are here

function mailchimp_uninstall in Mailchimp 6.2

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

Implementation of hook_uninstall().

File

./mailchimp.install, line 150

Code

function mailchimp_uninstall() {
  variable_del('mailchimp_api_key');
  variable_del('mailchimp_cron');
  variable_del('mailchimp_interest_groups_user_forms');
  variable_del('mailchimp_lists');
  variable_del('mailchimp_subscription_failure_message');
  variable_del('mailchimp_subscription_success_message');
  variable_del('mailchimp_unsubscription_failure_message');
  variable_del('mailchimp_unsubscription_success_message');
  variable_del('mailchimp_user_edit');
  variable_del('mailchimp_user_register');
  drupal_uninstall_schema('mailchimp');
}