function nodereference_count_enable in Nodereference Count 6
Same name and namespace in other branches
- 7 nodereference_count.install \nodereference_count_enable()
Implementation of hook_enable().
Notify content module when this module is enabled.
File
- ./
nodereference_count.install, line 29 - Install, update, and uninstall functions for the nodereference_count module.
Code
function nodereference_count_enable() {
drupal_load('module', 'content');
content_notify('enable', 'nodereference_count');
// Weight nodereference_count to come after cck modules.
db_query("UPDATE {system} SET weight = 10 WHERE name = 'nodereference_count' AND type = 'module'");
}