Browse Source

Add coding convention

baelmyhu 11 years ago
parent
commit
e764f5904b
2 changed files with 2 additions and 2 deletions
  1. 1 1
      main/forum/index.php
  2. 1 1
      main/inc/lib/main_api.lib.php

+ 1 - 1
main/forum/index.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 */

+ 1 - 1
main/inc/lib/main_api.lib.php

@@ -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'])) {