You are here

function nodesymlinks_install in NodeSymlinks 6

Same name and namespace in other branches
  1. 7 nodesymlinks.install \nodesymlinks_install()

Implementation of hook_install().

File

./nodesymlinks.install, line 11
Installation functions for NodeSymlinks.

Code

function nodesymlinks_install() {

  // We need to launch this module after pathauto in nodeapi, Pathauto has
  // weight 1, so we set the weight to 2.
  db_query("UPDATE {system} SET weight = 2 WHERE name = 'nodesymlinks'");

  // Install the schema.
  drupal_install_schema('nodesymlinks');
}