You are here

function dynamic_background_node_install in Dynamic Background 6

Implementation of hook_install().

File

modules/dynamic_background_node/dynamic_background_node.install, line 49
Installes the database scheme and handles install and uninstall of the module.

Code

function dynamic_background_node_install() {
  drupal_install_schema('dynamic_background_node');

  // Make this module's weight heavy, so it overrides dynamic background main module.
  db_query("UPDATE {system} SET weight = 210 WHERE type = 'module' AND name = 'dynamic_background_node'");
}