function cas_uninstall in CAS 7
Same name and namespace in other branches
- 5.4 cas.install \cas_uninstall()
- 5.3 cas.install \cas_uninstall()
- 6.3 cas.install \cas_uninstall()
- 6.2 cas.install \cas_uninstall()
Implements hook_uninstall().
File
- ./
cas.install, line 83 - Installation hooks for the CAS module.
Code
function cas_uninstall() {
// Delete variables.
variable_del('cas_access');
variable_del('cas_allow_rememberme');
variable_del('cas_authmap');
variable_del('cas_auto_assigned_role');
variable_del('cas_cert');
variable_del('cas_changePasswordURL');
variable_del('cas_check_frequency');
variable_del('cas_debugfile');
variable_del('cas_domain');
variable_del('cas_exclude');
variable_del('cas_first_login_destination');
variable_del('cas_hide_email');
variable_del('cas_hide_password');
variable_del('cas_library_dir');
variable_del('cas_login_drupal_invite');
variable_del('cas_login_form');
variable_del('cas_login_invite');
variable_del('cas_login_message');
variable_del('cas_login_redir_message');
variable_del('cas_logout_destination');
variable_del('cas_pages');
variable_del('cas_pgtformat');
variable_del('cas_pgtpath');
variable_del('cas_port');
variable_del('cas_proxy');
variable_del('cas_proxy_list');
variable_del('cas_registerURL');
variable_del('cas_server');
variable_del('cas_uri');
variable_del('cas_user_register');
variable_del('cas_version');
variable_del('cas_single_logout_session_lifetime');
// And old (un-used) variables.
variable_del('cas_cert_verify');
variable_del('cas_check_first');
variable_del('cas_first_login');
variable_del('cas_hijack_user');
variable_del('cas_ldap_email_attribute');
variable_del('cas_logout_redirect');
variable_del('cas_signout');
variable_del('cas_useldap');
variable_del('cas_useldap_groups');
variable_del('cas_verify');
}