You are here

function dynamic_background_views_install in Dynamic Background 6

Same name and namespace in other branches
  1. 7 modules/dynamic_background_views/dynamic_background_views.install \dynamic_background_views_install()

Implementation of hook_install().

File

modules/dynamic_background_views/dynamic_background_views.install, line 36
Installes the database scheme and handles install and uninstall of the module.

Code

function dynamic_background_views_install() {
  drupal_install_schema('dynamic_background_views');

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