Add coding convention

1.9.x
baelmyhu 12 years ago
parent eecab13657
commit e764f5904b
  1. 2
      main/forum/index.php
  2. 2
      main/inc/lib/main_api.lib.php

@ -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 */

@ -770,7 +770,7 @@ function api_is_facebook_auth_activated() {
* @return bool
* @todo : in 1.10 replace this with a platform parameter in the database
*/
function api_get_display_groups_forum_in_general_tool() {
function apiGetDisplayGroupsForumInGeneralTool() {
global $_configuration;
if (isset($_configuration['display_groups_forum_in_general_tool'])) {

Loading…
Cancel
Save