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:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user