You are here

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

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

Drops ip_range_date column.

Drop the ip_range_date column as it is never used and just takes up database space and processing time.

File

./ip2country.install, line 181
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;
}