From 6368a1d8a17c2a4deb33d220c6cd33a8790275b8 Mon Sep 17 00:00:00 2001 From: Julio Montoya Date: Fri, 25 Apr 2014 11:37:48 +0200 Subject: [PATCH] Minor - format code. --- main/inc/lib/exercise_show_functions.lib.php | 49 ++++++++++++++++---- 1 file changed, 39 insertions(+), 10 deletions(-) diff --git a/main/inc/lib/exercise_show_functions.lib.php b/main/inc/lib/exercise_show_functions.lib.php index 36d7691ca4..2322fc1d52 100644 --- a/main/inc/lib/exercise_show_functions.lib.php +++ b/main/inc/lib/exercise_show_functions.lib.php @@ -17,7 +17,6 @@ */ class ExerciseShowFunctions { - /** * Shows the answer to a fill-in-the-blanks question, as HTML * @param string Answer text @@ -166,10 +165,7 @@ class ExerciseShowFunctions '.nl2br($answerComment).''; - } else { - //echo ''.nl2br($answerComment).''; } - ?> @@ -179,7 +175,6 @@ class ExerciseShowFunctions @@ -343,7 +361,18 @@ class ExerciseShowFunctions * @param boolean Whether to show the answer comment or not * @return void */ - static function display_multiple_answer_combination_true_false($feedback_type, $answerType, $studentChoice, $answer, $answerComment, $answerCorrect, $id, $questionId, $ans, $in_results_disabled) { + static function display_multiple_answer_combination_true_false( + $feedback_type, + $answerType, + $studentChoice, + $answer, + $answerComment, + $answerCorrect, + $id, + $questionId, + $ans, + $in_results_disabled + ) { $hide_expected_answer = false; if ($feedback_type == 0 && $in_results_disabled == 2) { $hide_expected_answer = true;