diff options
Diffstat (limited to 'question.php')
-rw-r--r-- | question.php | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/question.php b/question.php index bfff2fa..52f8392 100644 --- a/question.php +++ b/question.php @@ -184,10 +184,6 @@ class qtype_algebra_question extends question_graded_by_strategy } public function compare_response_with_answer(array $response, question_answer $answer) { - // Deal with the match anything answer by returning true. - if ($answer->answer == '*') { - return true; - } $expr = $this->parse_expression($response['answer']); // Check that there is a response and if not return false. We do this here // because even an empty response should match a widlcard answer. |