unique_field.install in Unique field 7
Same filename and directory in other branches
Installation/uninstallation routines for the unique_field module.
File
unique_field.installView source
<?php
/**
* @file
* Installation/uninstallation routines for the unique_field module.
*/
/**
* Implements 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
Name | Description |
---|---|
unique_field_uninstall | Implements hook_uninstall(). |