Browse Source

Revert "Fix questions list for calculated answers - refs #8237"

This reverts commit 4b006900f470727ebc25794bdc36a27fd1ed98d8.
Angel Fernando Quiroz Campos 8 years ago
parent
commit
ee874accf2
1 changed files with 0 additions and 7 deletions
  1. 0 7
      main/inc/lib/exercise.lib.php

+ 0 - 7
main/inc/lib/exercise.lib.php

@@ -89,13 +89,6 @@ class ExerciseLib
             $objAnswerTmp = new Answer($questionId);
             $nbrAnswers = $objAnswerTmp->selectNbrAnswers();
 
-            if ($answerType == FREE_ANSWER ||
-                $answerType == ORAL_EXPRESSION ||
-                $answerType == CALCULATED_ANSWER
-            ) {
-                $nbrAnswers = 1;
-            }
-
             $quiz_question_options = Question::readQuestionOption(
                 $questionId,
                 $course_id