Minor - flint fixes

pull/2874/head
Julio Montoya 7 years ago
parent 12f3807e0e
commit 9262b38429
  1. 2
      main/exercise/export/aiken/aiken_import.inc.php
  2. 1
      main/inc/global.inc.php
  3. 5
      main/inc/lib/exercise.lib.php
  4. 1
      main/inc/lib/tracking.lib.php
  5. 10
      main/session/session_category_list.php
  6. 2
      src/Chamilo/CoreBundle/Component/Utils/ChamiloApi.php

@ -10,8 +10,6 @@
* @package chamilo.exercise
*/
use Chamilo\CourseBundle\Entity\CQuizAnswer;
/**
* This function displays the form for import of the zip file with qti2.
*

@ -16,7 +16,6 @@ use Chamilo\CoreBundle\Component\Utils\ChamiloApi;
* @todo remove the code that displays the button that links to the install page
* but use a redirect immediately. By doing so the $alreadyInstalled variable can be removed.
*/
define('SHOW_ERROR_CODES', false);
// Include the libraries that are necessary everywhere

@ -5343,12 +5343,13 @@ EOT;
/**
* Check if an exercise complies with the requirements to be embedded in the mobile app or a video. By making sure
* it is set on one question per page and it only contains unique-answer or multiple-answer questions
* it is set on one question per page and it only contains unique-answer or multiple-answer questions.
*
* @param array $exercise Exercise info
*
* @return bool
* @throws \Doctrine\ORM\Query\QueryException
*
* @return bool
*/
public static function isQuizEmbeddable(array $exercise)
{

@ -3999,7 +3999,6 @@ class Tracking
* 0 = session is not filtered
*
* @return int Count of assignments
*
*/
public static function count_student_assignments(
$student_id,

@ -112,8 +112,7 @@ if (isset($_GET['search']) && $_GET['search'] === 'advanced') {
echo Display::url(
Display::return_icon('session.png', get_lang('ListSession'), [], ICON_SIZE_MEDIUM),
api_get_path(WEB_CODE_PATH).'session/session_list.php'
);
?>
); ?>
</div>
<div class="col-md-6">
<div class="pull-right">
@ -166,13 +165,10 @@ if (isset($_GET['search']) && $_GET['search'] === 'advanced') {
<?php
} else {
echo get_lang('Next');
}
?>
} ?>
</div>
<?php
}
?>
} ?>
<table class="data_table" width="100%">
<tr>

@ -357,7 +357,7 @@ class ChamiloApi
}
/**
* Get JavaScript code necessary to load quiz markers-rolls in medialement's Markers Rolls plugin
* Get JavaScript code necessary to load quiz markers-rolls in medialement's Markers Rolls plugin.
*
* @return string
*/

Loading…
Cancel
Save