removed two method definitions that are used for the editing form

removed an extraneous addslashes
This commit is contained in:
gustav_delius
2006-02-11 16:42:49 +00:00
parent c8a6cdb32e
commit aa9e82825c
+1 -15
View File
@@ -162,7 +162,7 @@ class quiz_random_qtype extends quiz_default_questiontype {
if(false === $response) {
return false;
}
$response = addslashes($response);
// Prefix the answer field...
$response = "random$realqid-$response";
@@ -228,20 +228,6 @@ class quiz_random_qtype extends quiz_default_questiontype {
->compare_responses($wrappedquestion, $state, $teststate);
}
function print_replacement_options($question, $course, $quizid='0') {
global $QUIZ_QTYPES;
$wrappedquestion = &$state->options->question;
return $QUIZ_QTYPES[$wrappedquestion->qtype]
->print_replacement_options($wrappedquestion, $state, $quizid);
}
function print_question_form_end($question, $submitscript='') {
global $QUIZ_QTYPES;
$wrappedquestion = &$state->options->question;
return $QUIZ_QTYPES[$wrappedquestion->qtype]
->print_question_form_end($wrappedquestion, $state, $quizid);
}
}
//// END OF CLASS ////