You are here

campaignmonitor.install in Campaign Monitor 5

File

campaignmonitor.install
View source
<?php

function campaignmonitor_uninstall() {
  variable_del('campaignmonitor_userpagedisplaytext');
  variable_del('campaignmonitor_checkboxisplaytext');
  variable_del('campaignmonitor_client_id');
  variable_del('campaignmonitor_list_id');
  variable_del('campaignmonitor_display_on');
  variable_del('campaignmonitor_api_key');
  variable_del('campaignmonitor_pastcampaignurl');
  variable_del('campaignmonitor_connection_timeout');
  cache_clear_all('*', 'cache', TRUE);
  cache_clear_all('*', 'cache_filter', TRUE);
  cache_clear_all('*', 'cache_menu', TRUE);
  cache_clear_all('*', 'cache_page', TRUE);
}

Functions