You are here

function url_alter_install in URL alter 6

Implementation of hook_install().

File

./url_alter.install, line 11
Install and uninstall schema and functions for the url_alter module.

Code

function url_alter_install() {

  // Set this module's weight really, really low so we have the first stab at
  // implementing the custom_url_rewrite functions.
  db_query("UPDATE {system} SET weight = -1000 WHERE type = 'module' AND name = 'url_alter'");
}