Browse Source

Minor - Flint fixes - refs BT#15362

Angel Fernando Quiroz Campos 6 years ago
parent
commit
b93206ad4c

+ 0 - 1
main/course_info/infocours.php

@@ -746,7 +746,6 @@ $form->addHtml('
     ');
 
 if (api_get_configuration_value('allow_exercise_auto_launch')) {
-
     // Auto launch exercise
     $group = [];
     $group[] = $form->createElement(

+ 0 - 1
main/exercise/exercise.class.php

@@ -1,7 +1,6 @@
 <?php
 /* For licensing terms, see /license.txt */
 
-use Chamilo\CoreBundle\Component\Utils\ChamiloApi;
 use Chamilo\CoreBundle\Entity\TrackEHotspot;
 use ChamiloSession as Session;
 

+ 2 - 1
main/inc/lib/exercise.lib.php

@@ -5292,8 +5292,9 @@ EOT;
      * @param int $courseId
      * @param int $sessionId
      *
-     * @return bool
      * @throws \Doctrine\ORM\Query\QueryException
+     *
+     * @return bool
      */
     public static function isQuestionsLimitPerDayReached($userId, $numberOfQuestions, $courseId, $sessionId)
     {

+ 1 - 1
main/session/resume_session.php

@@ -266,7 +266,7 @@ if ($session->getNbrCourses() === 0) {
             Display::return_icon('delete.png', get_lang('Delete')),
             api_get_self()."?id_session=$sessionId&action=delete&idChecked[]={$course->getCode()}",
             [
-                'onclick' => "javascript:if(!confirm('".get_lang('ConfirmYourChoice')."')) return false;"
+                'onclick' => "javascript:if(!confirm('".get_lang('ConfirmYourChoice')."')) return false;",
             ]
         );
 

+ 1 - 1
src/Chamilo/CoreBundle/Component/Utils/ChamiloApi.php

@@ -336,7 +336,7 @@ class ChamiloApi
     }
 
     /**
-     * Get the local time for the midnight
+     * Get the local time for the midnight.
      *
      * @param string|null $utcTime Optional. The time to ve converted.
      *                             See api_get_local_time.