MDL-79863 qtype_ordering: qtype/ordering fix restore error message about missing table: qtype_ordering (should be qtype_ordering_options)

This commit is contained in:
Gordon Bateson 2015-02-05 09:33:22 +09:00 committed by Mathew May
parent f44ebd44d4
commit 07346a063b
2 changed files with 3 additions and 3 deletions

View file

@ -216,7 +216,7 @@ class qtype_ordering_question extends question_graded_automatically {
'partiallycorrectfeedback' => '', 'partiallycorrectfeedback' => '',
'partiallycorrectfeedbackformat' => FORMAT_MOODLE // =0 'partiallycorrectfeedbackformat' => FORMAT_MOODLE // =0
); );
$this->options->id = $DB->insert_record('qtype_ordering', $options); $this->options->id = $DB->insert_record('qtype_ordering_options', $options);
} }
} }
return $this->options; return $this->options;

View file

@ -30,6 +30,6 @@ defined('MOODLE_INTERNAL') || die();
$plugin->cron = 0; $plugin->cron = 0;
$plugin->component = 'qtype_ordering'; $plugin->component = 'qtype_ordering';
$plugin->maturity = MATURITY_STABLE; // ALPHA=50, BETA=100, RC=150, STABLE=200 $plugin->maturity = MATURITY_STABLE; // ALPHA=50, BETA=100, RC=150, STABLE=200
$plugin->release = '2015-01-30 (18)'; $plugin->release = '2015-02-05 (19)';
$plugin->version = 2015013018; $plugin->version = 2015020519;
$plugin->requires = 2010112400; // Moodle 2.0 $plugin->requires = 2010112400; // Moodle 2.0