question types: API cleanup.

MDL-18350 remove backwards compatibility support for question types having their lang strings in the quiz language module.
MDL-16407 settings.php support for question types. Remove the old get_config_options from question types. I don't think anyone was using it.
This commit is contained in:
tjhunt
2009-02-25 07:01:57 +00:00
parent 5d6f63bf71
commit 4995b9c19c
2 changed files with 16 additions and 65 deletions
+1 -1
View File
@@ -88,7 +88,7 @@ class random_qtype extends default_questiontype {
}
function display_question_editing_page(&$mform, $question, $wizardnow){
list($heading, $langmodule) = $this->get_heading(empty($question->id));
$heading = $this->get_heading(empty($question->id));
print_heading_with_help($heading, $this->name(), $langmodule);
$mform->display();
}