function dynamic_background_user_install in Dynamic Background 6
Same name and namespace in other branches
- 7 modules/dynamic_background_user/dynamic_background_user.install \dynamic_background_user_install()
Implementation of hook_install().
File
- modules/
dynamic_background_user/ dynamic_background_user.install, line 40 - Installes the database scheme and handles install and uninstall of the module.
Code
function dynamic_background_user_install() {
drupal_install_schema('dynamic_background_user');
// Make this module's weight heavy, so it overrides dynamic background main module.
db_query("UPDATE {system} SET weight = 230 WHERE type = 'module' AND name = 'dynamic_background_user'");
}