You are here

function vars_install in Variable API 6

Same name and namespace in other branches
  1. 6.2 vars.install \vars_install()
  2. 7.2 vars.install \vars_install()
  3. 7 vars.install \vars_install()

Implements hook_install().

File

./vars.install, line 71
Install, update and uninstall functions for the Variable API module.

Code

function vars_install() {
  drupal_install_schema('vars');
  db_query("UPDATE {system} SET weight = -99 WHERE name = 'vars' AND type = 'module'");
}