You are here

unique_field.install in Unique field 6

Same filename and directory in other branches
  1. 5 unique_field.install
  2. 7 unique_field.install

Installation/uninstallation routines for the unique_field module.

File

unique_field.install
View source
<?php

/**
 * @file
 * Installation/uninstallation routines for the unique_field module.
 */

/**
 * Implementation of hook_uninstall().
 *
 * Deletes all module variables and then clears the variables cache.
 */
function unique_field_uninstall() {
  db_query("DELETE FROM {variable} WHERE name LIKE 'unique\\_field\\_%'");
  cache_clear_all('variables', 'cache');
}

Functions

Namesort descending Description
unique_field_uninstall Implementation of hook_uninstall().