Completed
Push — master ( 76c133...e8cd69 )
by Julito
53:32
created
main/inc/lib/api.lib.php 1 patch
Indentation   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -642,7 +642,6 @@  discard block
 block discarded – undo
642 642
  * Also, this function provides conversion between path types, in this case the input path points inside the Chamilo area too.
643 643
  *
644 644
  * See $_configuration['course_folder'] in the configuration.php to alter the WEB_COURSE_PATH and SYS_COURSE_PATH parameters.
645
-
646 645
  * @param string $path (optional)   A path which type is to be converted. Also, it may be a defined constant for a path.
647 646
  * This parameter has meaning when $type parameter has one of the following values: TO_WEB, TO_SYS, TO_REL. Otherwise it is ignored.
648 647
  * @return string                   The requested path or the converted path.
@@ -1742,7 +1741,6 @@  discard block
 block discarded – undo
1742 1741
 
1743 1742
 /**
1744 1743
  * Returns the current course info array.
1745
-
1746 1744
  * Now if the course_code is given, the returned array gives info about that
1747 1745
  * particular course, not specially the current one.
1748 1746
  * @param int $id Numeric ID of the course
@@ -4133,7 +4131,7 @@  discard block
 block discarded – undo
4133 4131
             ORDER BY original_name ASC";
4134 4132
     $result = Database::query($sql);
4135 4133
     $language_list = array();
4136
-   while ($row = Database::fetch_array($result)) {
4134
+    while ($row = Database::fetch_array($result)) {
4137 4135
         $language_list[$row['isocode']] = $row['original_name'];
4138 4136
     }
4139 4137
     return $language_list;
@@ -6283,7 +6281,7 @@  discard block
 block discarded – undo
6283 6281
 function api_get_jquery_ui_js($include_jqgrid = false) {
6284 6282
     $libraries = array();
6285 6283
     if ($include_jqgrid) {
6286
-       $libraries[]='jqgrid';
6284
+        $libraries[]='jqgrid';
6287 6285
     }
6288 6286
     return api_get_jquery_libraries_js($libraries);
6289 6287
 }
Please login to merge, or discard this patch.