diff --git a/question/type/question.html b/question/type/question.html
index 9934db0ffba06..8993752d50376 100644
--- a/question/type/question.html
+++ b/question/type/question.html
@@ -3,21 +3,6 @@
* print_question() method.
*/
?>
-
-
-
-
@@ -43,18 +28,8 @@
echo $comment;
?>
-
-
-
-
-
\ No newline at end of file
diff --git a/question/type/questiontype.php b/question/type/questiontype.php
index 5f54fe01787f1..a50ff8a99451e 100644
--- a/question/type/questiontype.php
+++ b/question/type/questiontype.php
@@ -478,8 +478,8 @@ function print_question(&$question, &$state, $number, $cmoptions, $options) {
$commentlink = '';
if (isset($options->questioncommentlink)) {
$strcomment = get_string('commentorgrade', 'quiz');
- $attempt = get_record('quiz_attempts', 'uniqueid', $state->attempt); // would just have $attempt->uniqueid = $state->attempt but review.php needs $attempt->id
- $commentlink = "
id');\">$strcomment";
+ $commentlink = '';
}
$history = $this->history($question, $state, $number, $cmoptions, $options);