You are here

function geoip_close in Smart IP 7.2

Same name and namespace in other branches
  1. 6.2 includes/geoip.inc \geoip_close()
1 call to geoip_close()
smart_ip_get_location in ./smart_ip.module
Get the geo location from the IP address

File

includes/geoip.inc, line 397

Code

function geoip_close($gi) {
  if ($gi->flags & GEOIP_SHARED_MEMORY) {
    return true;
  }
  return fclose($gi->filehandle);
}