You are here

function persistent_login_uninstall in Persistent Login 6

Same name and namespace in other branches
  1. 5 persistent_login.install \persistent_login_uninstall()
  2. 7 persistent_login.install \persistent_login_uninstall()

Implementation of hook_uninstall().

File

./persistent_login.install, line 67
Implementation of installation/uninstallation hooks.

Code

function persistent_login_uninstall() {
  drupal_uninstall_schema('persistent_login');

  // Delete all module variables.
  variable_del('persistent_login_welcome');
  variable_del('persistent_login_maxlife');
  variable_del('persistent_login_maxlogins');
  variable_del('persistent_login_secure');
  variable_del('persistent_login_pages');
  variable_del('persistent_login_cookie_prefix');
  variable_del('persistent_login_history');
}