You are here

function ip2country_update_2 in IP-based Determination of a Visitor's Country 6

Same name and namespace in other branches
  1. 7 ip2country.install \ip2country_update_2()

Drop ip_range_date column.

ip_range_date it is never used and just takes up database space and processing time.

File

./ip2country.install, line 188
Install, update, and uninstall functions for the ip2country module.

Code

function ip2country_update_2() {
  $ret = array();

  // Drop ip_range_date
  db_drop_field($ret, 'ip2country', 'ip_range_date');
  return $ret;
}