Fix Eclipse warnings.

This commit is contained in:
tjhunt
2006-08-24 11:36:38 +00:00
parent 2fe0d172f8
commit b2ba9f6ef3
+1 -6
View File
@@ -42,12 +42,7 @@ class description_qtype extends default_questiontype {
$editlink = link_to_popup_window('/question/question.php?id='.$question->id, $stredit, $linktext, 450, 550, $stredit, '', true);
}
$formatoptions->noclean = true;
$formatoptions->para = false;
$questiontext = format_text($question->questiontext,
$question->questiontextformat,
$formatoptions, $cmoptions->course);
$questiontext = $this->format_text($question->questiontext, $question->questiontextformat, $cmoptions);
$image = get_question_image($question, $cmoptions->course);
include "$CFG->dirroot/question/type/description/question.html";