mirror of
https://github.com/moodle/moodle.git
synced 2025-03-19 23:20:09 +01:00
MDL-79863 qtype_ordering: Removing dummy functions from edit form
This commit is contained in:
parent
dd3513c20b
commit
c60561cd4e
@ -123,10 +123,10 @@ class qtype_ordering_edit_form extends question_edit_form {
|
||||
$this->adjust_html_editors($mform, $name, $repeats);
|
||||
|
||||
// Adding feedback fields.
|
||||
$this->add_ordering_feedback_fields(false);
|
||||
$this->add_combined_feedback_fields(false);
|
||||
|
||||
// Adding interactive settings.
|
||||
$this->add_ordering_interactive_settings(false, false);
|
||||
$this->add_interactive_settings(false, false);
|
||||
}
|
||||
|
||||
protected function get_answer_repeats($question) {
|
||||
@ -245,7 +245,7 @@ class qtype_ordering_edit_form extends question_edit_form {
|
||||
$question = $this->data_preprocessing_answers($question, true);
|
||||
|
||||
// Preprocess feedback.
|
||||
$question = $this->data_preprocessing_ordering_feedback($question);
|
||||
$question = $this->data_preprocessing_combined_feedback($question);
|
||||
$question = $this->data_preprocessing_hints($question, false, false);
|
||||
|
||||
// Preprocess answers and fractions.
|
||||
@ -335,19 +335,6 @@ class qtype_ordering_edit_form extends question_edit_form {
|
||||
return $errors;
|
||||
}
|
||||
|
||||
protected function add_ordering_feedback_fields($shownumpartscorrect = false) {
|
||||
$this->add_combined_feedback_fields($shownumpartscorrect);
|
||||
}
|
||||
|
||||
protected function add_ordering_interactive_settings($clearwrong=false, $shownumpartscorrect=false) {
|
||||
$this->add_interactive_settings($clearwrong, $shownumpartscorrect);
|
||||
}
|
||||
|
||||
protected function data_preprocessing_ordering_feedback($question, $shownumcorrect=false) {
|
||||
$question = $this->data_preprocessing_combined_feedback($question, $shownumcorrect);
|
||||
return $question;
|
||||
}
|
||||
|
||||
/**
|
||||
* get_default_value
|
||||
*
|
||||
|
Loading…
x
Reference in New Issue
Block a user