You are here

function login_security_uninstall in Login Security 5

Same name and namespace in other branches
  1. 6 login_security.install \login_security_uninstall()
  2. 7 login_security.install \login_security_uninstall()

File

./login_security.install, line 52

Code

function login_security_uninstall() {
  drupal_set_message(t('Removing security options'));
  variable_del('login_security_track_time');
  variable_del('login_security_user_wrong_count');
  variable_del('login_security_host_wrong_count');
  variable_del('login_security_host_wrong_count_hard');
  variable_del('login_security_notice_attempts_available');
  variable_del('login_security_notice_attempts_message');
  variable_del('login_security_host_soft_banned');
  variable_del('login_security_host_hard_banned');
  variable_del('login_security_user_blocked');
  variable_del('login_security_user_blocked_email');
  variable_del('login_security_user_blocked_email_subject');
  variable_del('login_security_user_blocked_email_body');
  variable_del('login_security_last_login_timestamp');
  variable_del('login_security_last_access_timestamp');
  db_query("DROP TABLE {login_security_track}");
}