You are here

function genpass_uninstall in Generate Password 7.2

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

Implements hook_uninstall().

File

./genpass.install, line 34
Genpass module upgrade/uninstall code.

Code

function genpass_uninstall() {

  // Remove legacy variables in case they were somehow still around.
  variable_del('genpass_algorithm');
  variable_del('genpass_display');
  variable_del('genpass_entropy');
  variable_del('genpass_length');
  variable_del('genpass_mode');

  // Also remove current variables.
  variable_del('genpass_display_password');
}