Browse Source

Minor - Format code

Julio Montoya 6 years ago
parent
commit
ae91b48ec5

+ 2 - 2
main/lp/learnpath.class.php

@@ -10802,10 +10802,10 @@ class learnpath
                                         $destinationFile = substr($file_path, strlen($cur_path));
                                         $filePathNoCoursePart = substr($file_path, strlen($cur_path));
                                         if (false) {
-                                        //if (false !== strstr($file_path, $cur_path)) {
+                                            //if (false !== strstr($file_path, $cur_path)) {
                                             $relative_path = str_replace($cur_path, '', $file_path);
                                             $file_path = substr($file_path, strlen($cur_path));
-                                            //var_dump($relative_path, $file_path);
+                                        //var_dump($relative_path, $file_path);
                                         } else {
                                             // This case is still a problem as it's difficult to calculate
                                             // a relative path easily might still generate wrong links.

+ 0 - 1
src/Chamilo/CourseBundle/Component/CourseCopy/CourseRecycler.php

@@ -90,7 +90,6 @@ class CourseRecycler
         if ($backupType === 'full_backup') {
             \CourseManager::deleteCoursePicture($this->course_info['code']);
         }
-
     }
 
     /**