You are here

function login_history_update_7100 in Login History 7

Remove the index on the user agent column.

File

./login_history.install, line 48
The login history install/uninstall code.

Code

function login_history_update_7100() {
  db_drop_index('login_history', 'login_history_uid_host_ua');
  db_add_index('login_history', 'login_history_uid_host', array(
    'uid',
    'hostname',
  ));
}