function forum_install

7.x forum.install forum_install()
6.x forum.install forum_install()

Implementation of hook_install().

File

drupal-6.x/modules/forum/forum.install, line 6

Code

function forum_install() {
  // Create tables.
  drupal_install_schema('forum');
  // Set the weight of the forum.module to 1 so it is loaded after the taxonomy.module.
  db_query("UPDATE {system} SET weight = 1 WHERE name = 'forum'");
}