You are here

function tfa_uninstall in Two-factor Authentication (TFA) 7.2

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

Implements hook_uninstall().

File

./tfa.install, line 11
Install and update hooks.

Code

function tfa_uninstall() {
  variable_del('tfa_login_plugins');
  variable_del('tfa_validate_plugin');
  variable_del('tfa_fallback_plugins');
  variable_del('tfa_validate_threshold');
  variable_del('tfa_begin_threshold');
  variable_del('tfa_flood_window');

  // This variable used to exist.
  variable_del('tfa_required');
  variable_del('tfa_enabled');
  variable_del('tfa_test_mode');
}