From 770537257ab3b21274471835371fd9933262309f Mon Sep 17 00:00:00 2001 From: tjhunt Date: Tue, 9 Sep 2008 01:50:30 +0000 Subject: [PATCH] MDL-16398 Remove the unused and unnecessary set_default_options method from the question type API --- question/type/edit_question_form.php | 1 - question/type/questiontype.php | 8 -------- 2 files changed, 9 deletions(-) diff --git a/question/type/edit_question_form.php b/question/type/edit_question_form.php index 04d946bf51..d0812ffc18 100644 --- a/question/type/edit_question_form.php +++ b/question/type/edit_question_form.php @@ -231,7 +231,6 @@ class question_edit_form extends moodleform { function set_data($question) { global $QTYPES; - $QTYPES[$question->qtype]->set_default_options($question); if (empty($question->image)){ unset($question->image); } diff --git a/question/type/questiontype.php b/question/type/questiontype.php index 26d2aa85c2..72ef1a85d0 100644 --- a/question/type/questiontype.php +++ b/question/type/questiontype.php @@ -203,14 +203,6 @@ class default_questiontype { return array($strheading, $langmodule); } - /** - * - * - * @param $question - */ - function set_default_options(&$question) { - } - /** * Saves or updates a question after editing by a teacher * -- 2.39.5