You are here

no_autocomplete.install in No Autocomplete 7

Same filename and directory in other branches
  1. 8 no_autocomplete.install
  2. 6 no_autocomplete.install

Install, Uninstall and Update functions for the no_autocomplete module.

File

no_autocomplete.install
View source
<?php

/**
 * @file
 * Install, Uninstall and Update functions for the no_autocomplete module.
 */

/**
 * Implements hook_install().
 */
function no_autocomplete_install() {

  // The status for the "autocomplete=off" option on user login form.
  variable_set('no_autocomplete_login_form', FALSE);
}

/**
 * Implements hook_uninstall().
 */
function no_autocomplete_uninstall() {

  // Deleting the variable.
  variable_del('no_autocomplete_login_form');
}

/**
 * Issue #2951274: The autocomplete option is not needed for the user edit form.
 */
function no_autocomplete_update_7101() {

  // Deleting the variable.
  variable_del('no_autocomplete_profile_form');
}

Functions

Namesort descending Description
no_autocomplete_install Implements hook_install().
no_autocomplete_uninstall Implements hook_uninstall().
no_autocomplete_update_7101 Issue #2951274: The autocomplete option is not needed for the user edit form.