aboutsummaryrefslogtreecommitdiff
path: root/mod
diff options
context:
space:
mode:
Diffstat (limited to 'mod')
-rw-r--r--mod/groups/start.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/mod/groups/start.php b/mod/groups/start.php
index 1012b5bbc..d83ff467e 100644
--- a/mod/groups/start.php
+++ b/mod/groups/start.php
@@ -540,6 +540,9 @@ function discussion_init() {
// add link to owner block
elgg_register_plugin_hook_handler('register', 'menu:owner_block', 'discussion_owner_block_menu');
+ // Register for search.
+ elgg_register_entity_type('object', 'groupforumtopic');
+
// add the forum tool option
add_group_tool_option('forum', elgg_echo('groups:enableforum'), true);
elgg_extend_view('groups/tool_latest', 'discussion/group_module');