You are here

function user_revision_disable in User Revision 7

Implements hook_disable().

File

./user_revision.install, line 11
Install, update and uninstall functions for the user_revision module.

Code

function user_revision_disable() {
  module_load_include('install', 'user_revision');
  $schema['users'] = array();
  user_revision_schema_alter($schema);
  foreach ($schema['users']['unique keys'] as $name => $spec) {
    db_drop_unique_key('users', $name);
  }
}