You are here

function user_update_7001 in Drupal 7

Remove the 'threshold', 'mode' and 'sort' columns from the {users} table.

These fields were previously used to store per-user comment settings.

Related topics

File

modules/user/user.install, line 471
Install, update and uninstall functions for the user module.

Code

function user_update_7001() {
  db_drop_field('users', 'threshold');
  db_drop_field('users', 'mode');
  db_drop_field('users', 'sort');
}