function cleantalk_uninstall in Anti Spam by CleanTalk 7.5
Same name and namespace in other branches
- 8.4 cleantalk.install \cleantalk_uninstall()
- 8 cleantalk.install \cleantalk_uninstall()
- 8.3 cleantalk.install \cleantalk_uninstall()
- 7 cleantalk.install \cleantalk_uninstall()
- 7.2 cleantalk.install \cleantalk_uninstall()
- 7.4 cleantalk.install \cleantalk_uninstall()
- 9.1.x cleantalk.install \cleantalk_uninstall()
Implements hook_uninstall().
File
- ./
cleantalk.install, line 130 - Install and uninstall functions for the CleanTalk module.
Code
function cleantalk_uninstall() {
variable_del('cleantalk_check_register');
variable_del('cleantalk_authkey');
variable_del('cleantalk_check_ccf');
variable_del('cleantalk_link');
variable_del('cleantalk_sfw');
variable_del('cleantalk_check_comments');
variable_del('cleantalk_check_comments_automod');
variable_del('cleantalk_check_comments_min_approved');
variable_del('cleantalk_check_webforms');
variable_del('cleantalk_check_contact_forms');
variable_del('cleantalk_check_forum_topics');
variable_del('cleantalk_check_search_form');
variable_del('cleantalk_url_exclusions');
variable_del('cleantalk_url_exclusions_regexp');
variable_del('cleantalk_fields_exclusions');
variable_del('cleantalk_roles_exclusions');
variable_del('cleantalk_work_url');
variable_del('cleantalk_server_url');
variable_del('cleantalk_server_ttl');
variable_del('cleantalk_server_changed');
variable_del('cleantalk_sfw_last_logs_sent');
variable_del('cleantalk_sfw_last_updated');
variable_del('cleantalk_api_show_notice');
variable_del('cleantalk_api_renew');
variable_del('cleantalk_api_trial');
variable_del('cleantalk_api_user_token');
variable_del('cleantalk_api_spam_count');
variable_del('cleantalk_api_moderate_ip');
variable_del('cleantalk_api_moderate');
variable_del('cleantalk_api_show_review');
variable_del('cleantalk_api_service_id');
variable_del('cleantalk_api_license_trial');
variable_del('cleantalk_api_account_name_ob');
variable_del('cleantalk_api_ip_license');
variable_del('cleantalk_show_renew_banner');
variable_del('cleantalk_add_search_noindex');
variable_del('cleantalk_set_cookies');
variable_del('cleantalk_alternative_cookies_session');
db_drop_table('cleantalk_timelabels');
db_drop_table('cleantalk_sfw');
db_drop_table('cleantalk_sfw_logs');
db_drop_table('cleantalk_sessions');
}