function campaignmonitor_uninstall in Campaign Monitor 5
Same name and namespace in other branches
- 5.2 campaignmonitor.install \campaignmonitor_uninstall()
- 6.3 campaignmonitor.install \campaignmonitor_uninstall()
- 6 campaignmonitor.install \campaignmonitor_uninstall()
- 6.2 campaignmonitor.install \campaignmonitor_uninstall()
- 7 campaignmonitor.install \campaignmonitor_uninstall()
File
- ./
campaignmonitor.install, line 3
Code
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);
}