function community_tags_node_install in Community Tags 6.2
Implementation of hook_install().
File
- community_tags_node/
community_tags_node.install, line 11 - The install file for the community_tags_node module.
Code
function community_tags_node_install() {
// Drop module weight so we act after taxonomy.
$weight = (int) db_result(db_query("SELECT weight FROM {system} WHERE name = 'taxonomy'"));
db_query("UPDATE {system} SET weight = %d WHERE name = 'community_tags_node'", $weight + 1);
}