function user_update_7001

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 479

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.