You are here

function constant_contact_uninstall in Constant Contact 6.2

Same name and namespace in other branches
  1. 5 constant_contact.install \constant_contact_uninstall()
  2. 6.3 constant_contact.install \constant_contact_uninstall()
  3. 6 constant_contact.install \constant_contact_uninstall()
  4. 7.3 constant_contact.install \constant_contact_uninstall()

Remvoves the variables we have set for the module

File

./constant_contact.install, line 115

Code

function constant_contact_uninstall() {
  variable_del('constant_contact_username');
  variable_del('constant_contact_password');
  variable_del('constant_contact_api_key');
  variable_del('constant_contact_custom_fields');
  variable_del('constant_contact_show_on_register');
  variable_del('constant_contact_show_list_selection');
  variable_del('constant_contact_signup_lists_description');
  variable_del('constant_contact_signup_title');
  variable_del('constant_contact_signup_description');
  variable_del('constant_contact_show_firstname');
  variable_del('constant_contact_show_lastname');
  variable_del('constant_contact_show_job_title');
  variable_del('constant_contact_show_company_name');
  variable_del('constant_contact_lists');
  cache_clear_all('variables', 'cache');
}