From 07346a063ba4789a9865b46b6d2e8b1c7226053e Mon Sep 17 00:00:00 2001 From: Gordon Bateson Date: Thu, 5 Feb 2015 09:33:22 +0900 Subject: [PATCH] MDL-79863 qtype_ordering: qtype/ordering fix restore error message about missing table: qtype_ordering (should be qtype_ordering_options) --- question/type/ordering/question.php | 2 +- question/type/ordering/version.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/question/type/ordering/question.php b/question/type/ordering/question.php index f8149a281e8..cf46fcac7b7 100644 --- a/question/type/ordering/question.php +++ b/question/type/ordering/question.php @@ -216,7 +216,7 @@ class qtype_ordering_question extends question_graded_automatically { 'partiallycorrectfeedback' => '', '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; diff --git a/question/type/ordering/version.php b/question/type/ordering/version.php index 4f5be50db08..3dc2de022d1 100644 --- a/question/type/ordering/version.php +++ b/question/type/ordering/version.php @@ -30,6 +30,6 @@ defined('MOODLE_INTERNAL') || die(); $plugin->cron = 0; $plugin->component = 'qtype_ordering'; $plugin->maturity = MATURITY_STABLE; // ALPHA=50, BETA=100, RC=150, STABLE=200 -$plugin->release = '2015-01-30 (18)'; -$plugin->version = 2015013018; +$plugin->release = '2015-02-05 (19)'; +$plugin->version = 2015020519; $plugin->requires = 2010112400; // Moodle 2.0