You are here

function login_security_update_5000 in Login Security 5

Support IPv6 length addresses.

Return value

array

File

./login_security.install, line 41

Code

function login_security_update_5000() {
  $ret = array();
  switch ($GLOBALS['db_type']) {
    case 'mysql':
    case 'mysqli':
      $ret[] = update_sql("ALTER TABLE {login_security_track} CHANGE host host VARCHAR(39) NOT NULL");
      break;
  }
  return $ret;
}