You are here

function browscap_install in Browscap 8

Same name and namespace in other branches
  1. 8.3 browscap.install \browscap_install()
  2. 5 browscap.install \browscap_install()
  3. 6.2 browscap.install \browscap_install()
  4. 6 browscap.install \browscap_install()
  5. 7 browscap.install \browscap_install()

Implements hook_install().

File

./browscap.install, line 34
Install, update and uninstall functions for the Browscap module.

Code

function browscap_install() {

  // Update the browscap information
  _browscap_import();

  // Record when the browscap information was updated
  variable_set('browscap_imported', REQUEST_TIME);
}