From: tjhunt Date: Tue, 9 Sep 2008 01:50:30 +0000 (+0000) Subject: MDL-16398 Remove the unused and unnecessary set_default_options method from the quest... X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=770537257ab3b21274471835371fd9933262309f;p=moodle.git MDL-16398 Remove the unused and unnecessary set_default_options method from the question type API --- 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 *