MDL-27747 questions remove all references to the recently deprecated get_grade_options()

This commit is contained in:
Tim Hunt
2011-06-07 14:00:07 +01:00
parent af2f98ee39
commit 92111e8d2c
8 changed files with 8 additions and 17 deletions
@@ -45,9 +45,8 @@ class qtype_missingtype_edit_form extends question_edit_form {
* @param object $mform the form being built.
*/
protected function definition_inner($mform) {
$creategrades = get_grade_options();
$this->add_per_answer_fields($mform, get_string('answerno', 'qtype_missingtype', '{no}'),
$creategrades->gradeoptionsfull);
question_bank::fraction_options_full());
}
public function set_data($question) {