diff options
Diffstat (limited to 'questiontype.php')
-rw-r--r-- | questiontype.php | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/questiontype.php b/questiontype.php index d2d283d..01f86c4 100644 --- a/questiontype.php +++ b/questiontype.php @@ -513,11 +513,6 @@ class qtype_algebra extends question_type { } public function get_random_guess_score($questiondata) { - foreach ($questiondata->options->answers as $aid => $answer) { - if ('*' == trim($answer->answer)) { - return $answer->fraction; - } - } return 0; } |