MDL-16398 Remove the unused and unnecessary set_default_options method from the question type API

This commit is contained in:
tjhunt 2008-09-09 01:50:30 +00:00
parent 284c283e75
commit 770537257a
2 changed files with 0 additions and 9 deletions

View File

@ -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);
}

View File

@ -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
*