function googleanalytics_uninstall in Google Analytics 6.3
Same name and namespace in other branches
- 5 googleanalytics.install \googleanalytics_uninstall()
- 6.4 googleanalytics.install \googleanalytics_uninstall()
- 6 googleanalytics.install \googleanalytics_uninstall()
- 6.2 googleanalytics.install \googleanalytics_uninstall()
- 7.2 googleanalytics.install \googleanalytics_uninstall()
- 7 googleanalytics.install \googleanalytics_uninstall()
@file Installation file for Google Analytics module.
File
- ./
googleanalytics.install, line 8 - Installation file for Google Analytics module.
Code
function googleanalytics_uninstall() {
variable_del('googleanalytics_account');
variable_del('googleanalytics_custom_var');
variable_del('googleanalytics_codesnippet_before');
variable_del('googleanalytics_codesnippet_after');
variable_del('googleanalytics_domain_mode');
variable_del('googleanalytics_privacy_donottrack');
variable_del('googleanalytics_trackoutgoing');
variable_del('googleanalytics_trackmailto');
variable_del('googleanalytics_trackfiles');
variable_del('googleanalytics_trackfiles_extensions');
variable_del('googleanalytics_cache');
variable_del('googleanalytics_last_cache');
variable_del('googleanalytics_site_search');
variable_del('googleanalytics_trackadsense');
variable_del('googleanalytics_trackdoubleclick');
variable_del('googleanalytics_js_scope');
variable_del('googleanalytics_custom');
variable_del('googleanalytics_roles');
variable_del('googleanalytics_visibility');
variable_del('googleanalytics_visibility_roles');
variable_del('googleanalytics_pages');
variable_del('googleanalytics_tracker_anonymizeip');
variable_del('googleanalytics_privacy_donottrack');
variable_del('googleanalytics_translation_set');
// Remove backup variables if exists. Remove this code in D8.
variable_del('googleanalytics_codesnippet_before_backup_6300');
variable_del('googleanalytics_codesnippet_after_backup_6300');
variable_del('googleanalytics_segmentation');
}