Browse Source

Minor - removing whitespaces

Julio Montoya 11 years ago
parent
commit
c72162ed48

+ 2 - 2
main/exercice/overview.php

@@ -48,7 +48,7 @@ $time_control = false;
 $clock_expired_time = ExerciseLib::get_session_time_control_key($objExercise->id, $learnpath_id, $learnpath_item_id);
 
 if ($objExercise->expired_time != 0 && !empty($clock_expired_time)) {
-	$time_control = true;
+    $time_control = true;
 }
 
 $urlMainExercise = api_get_path(WEB_CODE_PATH).'exercice/';
@@ -112,7 +112,7 @@ if (isset($exercise_stat_info['exe_id'])) {
 $label = get_lang('StartTest');
 
 if ($time_control && !empty($clock_expired_time) || !empty($attempt_list)) {
-	$label = get_lang('ContinueTest');
+    $label = get_lang('ContinueTest');
 }
 
 if (!empty($attempt_list)) {

+ 0 - 3
main/inc/global.inc.php

@@ -695,7 +695,6 @@ $app->before(
             }
         }));
 
-
         // Check if we are inside a Chamilo course tool
 
         $isCourseTool = (strpos($request->getPathInfo(), 'courses/') === false) ? false : true;
@@ -705,7 +704,6 @@ $app->before(
             $isCourseTool = (strpos($request->getPathInfo(), 'question_manager/exercise_distribution/') === false) ? false : true;
         }
 
-
         // Setting course entity for controllers and templates
         if ($isCourseTool) {
             // The course parameter is loaded
@@ -796,7 +794,6 @@ if (isset($app['configuration']['language_measure_frequency']) && $app['configur
     $langstats = new langstats();
 }
 
-
 /** Setting the is_admin key */
 $app['is_admin'] = false;
 

+ 1 - 2
main/inc/routes.php

@@ -699,7 +699,6 @@ if ($alreadyInstalled) {
     $app->mount(
         '/admin/question_manager/exercise_distribution',
         new ChamiloLMS\Provider\ReflectionControllerProvider('exercise_distribution.controller')
-    ) // sets the course and session
-    ;
+    );
 }
 

+ 0 - 1
src/ChamiloLMS/Controller/BaseController.php

@@ -314,7 +314,6 @@ abstract class BaseController extends FlintController
         }
     }
 
-
     /**
      * Base "read" action.
      *

+ 0 - 1
src/ChamiloLMS/Provider/ReflectionControllerProvider.php

@@ -94,7 +94,6 @@ class ReflectionControllerProvider implements ControllerProviderInterface
                             $match->value($key, $value);
                         }
                     }
-
                     $match->bind($controllerName);
                 }
             }