|
|
|
|
@ -148,7 +148,7 @@ $forumCategories = get_forum_categories(); |
|
|
|
|
|
|
|
|
|
// Step 2: We find all the forums (only the visible ones if it is a student). |
|
|
|
|
// display group forum in general forum tool depending to configuration option |
|
|
|
|
$forum_list = get_forums('', '', api_get_display_groups_forum_in_general_tool()); |
|
|
|
|
$forum_list = get_forums('', '', apiGetDisplayGroupsForumInGeneralTool()); |
|
|
|
|
$user_id = api_get_user_id(); |
|
|
|
|
|
|
|
|
|
/* RETRIEVING ALL GROUPS AND THOSE OF THE USER */ |
|
|
|
|
|