function campaignmonitor_uninstall in Campaign Monitor 5.2
Same name and namespace in other branches
- 5 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 Install file for the Campaign Monitor module
Removes all variables used by the module and clears the cache.
File
- ./
campaignmonitor.install, line 12 - Install file for the Campaign Monitor module
Code
function campaignmonitor_uninstall() {
variable_del('campaignmonitor_userpagedisplaytext');
variable_del('campaignmonitor_checkboxdisplaytext');
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);
}