You are here

function geoip_language_install in GeoIP API 7

Same name and namespace in other branches
  1. 6 geoip_language/geoip_language.install \geoip_language_install()

Implements hook_disable().

File

geoip_language/geoip_language.install, line 39
file_description

Code

function geoip_language_install() {
  drupal_install_schema('geoip_language');

  // Make sure this module loads before most "normal" modules.  This allows the
  // language negotiation to happen in hook_init() rather than hook_boot().
  db_query("UPDATE {system} SET weight = -1 WHERE name = 'geoip_language'");
}