You are here

function boost_install in Boost 6

Same name and namespace in other branches
  1. 5 boost.install \boost_install()

Implementation of hook_install().

File

./boost.install, line 43
Handles Boost module installation and upgrade tasks.

Code

function boost_install() {

  // Ensure that the module is loaded early in the bootstrap:
  db_query("UPDATE {system} SET weight = -90 WHERE name = '%s'", 'boost');
  variable_set('boost_crawler_key', md5(mt_rand()));

  // Create tables.
  drupal_install_schema('boost');
}