function og_activity_install in Heartbeat 6.4
Same name and namespace in other branches
- 6.3 modules/og_activity/og_activity.install \og_activity_install()
Implementation of hook_install().
File
- modules/
og_activity/ og_activity.install, line 24 - Installation file for organic group activity
Code
function og_activity_install() {
// Module weights in core: put heartbeat after heartbeat in the chain.
db_query("UPDATE {system} SET weight = 51 WHERE name = 'og_activity'");
$ret = array();
db_add_field($ret, 'heartbeat_activity', 'in_group', og_activity_in_group_column());
db_add_index($ret, 'heartbeat_activity', 'group_language_timestamp', array(
'in_group',
'language',
'timestamp',
));
}