Completed
Push — 1.11.x ( c5cfcc...1cf9be )
by José
46:45 queued 17:54
created
main/lp/lp_view_item.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -97,7 +97,7 @@
 block discarded – undo
97 97
 // Theme calls
98 98
 $show_learn_path = true;
99 99
 if (isset($_SESSION['oLP']) && is_object($_SESSION['oLP'])) {
100
-	$lp_theme_css = $_SESSION['oLP']->get_theme();
100
+    $lp_theme_css = $_SESSION['oLP']->get_theme();
101 101
 }
102 102
 
103 103
 if ($mode == 'fullpage') {
Please login to merge, or discard this patch.
main/admin/skills_import.php 1 patch
Indentation   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -70,7 +70,7 @@  discard block
 block discarded – undo
70 70
             $oskill = new Skill();
71 71
             $skill_id = $oskill->add($skill);
72 72
             $parents[$saved_id] = $skill_id;
73
-		}
73
+        }
74 74
     }
75 75
 }
76 76
 
@@ -81,12 +81,12 @@  discard block
 block discarded – undo
81 81
  */
82 82
 function parse_csv_data($file)
83 83
 {
84
-	$skills = Import :: csvToArray($file);
85
-	foreach ($skills as $index => $skill) {
86
-		$skills[$index] = $skill;
87
-	}
84
+    $skills = Import :: csvToArray($file);
85
+    foreach ($skills as $index => $skill) {
86
+        $skills[$index] = $skill;
87
+    }
88 88
 
89
-	return $skills;
89
+    return $skills;
90 90
 }
91 91
 
92 92
 /**
@@ -94,7 +94,7 @@  discard block
 block discarded – undo
94 94
  */
95 95
 function element_start($parser, $data)
96 96
 {
97
-	$data = api_utf8_decode($data);
97
+    $data = api_utf8_decode($data);
98 98
     global $skill;
99 99
     global $current_tag;
100 100
     switch ($data) {
@@ -111,7 +111,7 @@  discard block
 block discarded – undo
111 111
  */
112 112
 function element_end($parser, $data)
113 113
 {
114
-	$data = api_utf8_decode($data);
114
+    $data = api_utf8_decode($data);
115 115
     global $skill;
116 116
     global $skills;
117 117
     global $current_value;
@@ -130,9 +130,9 @@  discard block
 block discarded – undo
130 130
  */
131 131
 function character_data($parser, $data)
132 132
 {
133
-	$data = trim(api_utf8_decode($data));
134
-	global $current_value;
135
-	$current_value = $data;
133
+    $data = trim(api_utf8_decode($data));
134
+    global $current_value;
135
+    $current_value = $data;
136 136
 }
137 137
 
138 138
 /**
@@ -154,7 +154,7 @@  discard block
 block discarded – undo
154 154
     xml_parse($parser, api_utf8_encode_xml(file_get_contents($file)));
155 155
     xml_parser_free($parser);
156 156
 
157
-	return $skills;
157
+    return $skills;
158 158
 }
159 159
 
160 160
 $this_section = SECTION_PLATFORM_ADMIN;
Please login to merge, or discard this patch.
main/admin/filler.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -53,8 +53,8 @@
 block discarded – undo
53 53
     $result .= '<table>';
54 54
     foreach ($output as $line) {
55 55
         $result .= '<tr>';
56
-	    $result .= '<td class="filler-report-data-init">'.$line['line-init'].' </td><td class="filler-report-data">'.$line['line-info'].'</td>';
57
-	    $result .= '</tr>';
56
+        $result .= '<td class="filler-report-data-init">'.$line['line-init'].' </td><td class="filler-report-data">'.$line['line-info'].'</td>';
57
+        $result .= '</tr>';
58 58
     }
59 59
     $result .= '</table>';
60 60
     $result .= '</div>';
Please login to merge, or discard this patch.
src/Chamilo/CoreBundle/Entity/ExtraField.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -253,9 +253,9 @@
 block discarded – undo
253 253
         return $this;
254 254
     }
255 255
 
256
-     /**
257
-     * @return boolean
258
-     */
256
+        /**
257
+         * @return boolean
258
+         */
259 259
     public function isChangeable()
260 260
     {
261 261
         return $this->changeable;
Please login to merge, or discard this patch.
main/lp/learnpath.class.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -6038,8 +6038,8 @@  discard block
 block discarded – undo
6038 6038
             $course_id = api_get_course_int_id();
6039 6039
         }
6040 6040
 
6041
-       $creatorId = empty($creatorId) ? api_get_user_id() : $creatorId;
6042
-       $sessionId = api_get_session_id();
6041
+        $creatorId = empty($creatorId) ? api_get_user_id() : $creatorId;
6042
+        $sessionId = api_get_session_id();
6043 6043
 
6044 6044
         // Generates folder
6045 6045
         $result = $this->generate_lp_folder($courseInfo);
@@ -11114,7 +11114,7 @@  discard block
 block discarded – undo
11114 11114
         $lpItemId = [];
11115 11115
         $typeListNotToVerify = self::getChapterTypes();
11116 11116
 
11117
-	    // Using get_toc() function instead $this->items because returns the correct order of the items
11117
+        // Using get_toc() function instead $this->items because returns the correct order of the items
11118 11118
         foreach ($this->get_toc() as $item) {
11119 11119
             if (!in_array($item['type'], $typeListNotToVerify)) {
11120 11120
                 $lpItemId[] = $item['id'];
Please login to merge, or discard this patch.
plugin/courseblock/CourseBlockPlugin.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
 
12 12
     // When creating a new course this settings are added to the course
13 13
     public $course_settings = array(
14
-         array(
14
+            array(
15 15
             'name' => 'course_block_pre_footer',
16 16
             'type' => 'textarea'
17 17
         ),
Please login to merge, or discard this patch.
plugin/vchamilo/lib/Virtual.php 1 patch
Indentation   +20 added lines, -20 removed lines patch added patch discarded remove patch
@@ -186,11 +186,11 @@  discard block
 block discarded – undo
186 186
     }
187 187
 
188 188
     /**
189
-    * provides a side connection to a vchamilo database
190
-    * @param array $_configuration
189
+     * provides a side connection to a vchamilo database
190
+     * @param array $_configuration
191 191
      *
192
-    * @return \Doctrine\DBAL\Driver\Connection
193
-    */
192
+     * @return \Doctrine\DBAL\Driver\Connection
193
+     */
194 194
     public static function bootConnection(&$_configuration)
195 195
     {
196 196
         $dbParams = array(
@@ -298,10 +298,10 @@  discard block
 block discarded – undo
298 298
     }
299 299
 
300 300
     /**
301
-    * drop a vchamilo instance databases using the physical connection
302
-    * @param stdClass $params
303
-    * return an array of errors or false if ok
304
-    */
301
+     * drop a vchamilo instance databases using the physical connection
302
+     * @param stdClass $params
303
+     * return an array of errors or false if ok
304
+     */
305 305
     public static function dropDatabase($params)
306 306
     {
307 307
         $params = clone $params;
@@ -376,10 +376,10 @@  discard block
 block discarded – undo
376 376
     }
377 377
 
378 378
     /**
379
-    * get a proper SQLdump command
380
-    * @param object $vchamilodata the complete new host information
381
-    * @return string the shell command
382
-    */
379
+     * get a proper SQLdump command
380
+     * @param object $vchamilodata the complete new host information
381
+     * @return string the shell command
382
+     */
383 383
     public static function getDatabaseDumpCmd($vchamilodata)
384 384
     {
385 385
         $pgm = self::getConfig('vchamilo', 'mysql_cmd');
@@ -536,8 +536,8 @@  discard block
 block discarded – undo
536 536
     }
537 537
 
538 538
     /**
539
-    * read manifest values in vchamilo template.
540
-    */
539
+     * read manifest values in vchamilo template.
540
+     */
541 541
     public static function getVmanifest($version)
542 542
     {
543 543
         $templatewwwroot = '';
@@ -558,8 +558,8 @@  discard block
 block discarded – undo
558 558
     }
559 559
 
560 560
     /**
561
-    * make a fake vchamilo that represents the current host
562
-    */
561
+     * make a fake vchamilo that represents the current host
562
+     */
563 563
     public static function makeThis()
564 564
     {
565 565
         global $_configuration;
@@ -623,10 +623,10 @@  discard block
 block discarded – undo
623 623
     }
624 624
 
625 625
     /**
626
-    * this function set will map standard moodle API calls to chamilo
627
-    * internal primitives. This avoids too many changes to do in imported
628
-    * code
629
-    */
626
+     * this function set will map standard moodle API calls to chamilo
627
+     * internal primitives. This avoids too many changes to do in imported
628
+     * code
629
+     */
630 630
     public static function getConfig($module, $key, $isplugin = true)
631 631
     {
632 632
         if ($isplugin) {
Please login to merge, or discard this patch.
main/lp/openoffice_document.class.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@
 block discarded – undo
53 53
         // Create the directory
54 54
         $result = $this->generate_lp_folder($_course, $this->file_name);
55 55
 
56
-         // Create the directory
56
+            // Create the directory
57 57
         $this->base_work_dir = api_get_path(SYS_COURSE_PATH).$_course['path'].'/document';
58 58
         ///learning_path/ppt_dirname directory
59 59
         $this->created_dir = $result['dir'];
Please login to merge, or discard this patch.
main/admin/inactive_user_list.php 1 patch
Indentation   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -5,8 +5,7 @@
 block discarded – undo
5 5
 	@author Julio Montoya fixing lot of little details
6 6
 	@todo this script is not ready for a production use that's why
7 7
    I'm commenting the function delete_inactive_student
8
-
9
-*	@package chamilo.admin
8
+ *	@package chamilo.admin
10 9
 *	script pour effacer les user inactif depuis x temps
11 10
 */
12 11
 $cidReset = true;
Please login to merge, or discard this patch.