You are here

function geoip_language_flush_caches in GeoIP API 7

Same name and namespace in other branches
  1. 6 geoip_language/geoip_language.module \geoip_language_flush_caches()

Implements hook_flush_caches().

Return value

array Return an empty array - we do the flush ourselfes

File

geoip_language/geoip_language.module, line 304
Language negotiation based on GeoIP detection.

Code

function geoip_language_flush_caches() {

  // Reload the geoip cache file.
  geoip_language_mappings(TRUE);
  return array();
}