function shoutbox_group_weight_module in Shoutbox 6.2
Weight the module
2 calls to shoutbox_group_weight_module()
- shoutbox_group_install in shoutbox_group/
shoutbox_group.install - Implementation of hook_install
- shoutbox_group_update_6201 in shoutbox_group/
shoutbox_group.install - Update hook to weight the module
File
- shoutbox_group/
shoutbox_group.install, line 47
Code
function shoutbox_group_weight_module() {
// This is needed so this module acts before OG modules,
// allowing it to set the context first, if needed.
db_query("UPDATE {system} SET weight = -5 WHERE name = 'shoutbox_group'");
}