From f64ba7bacee944bc4b12ef19e450ecc13cd57189 Mon Sep 17 00:00:00 2001 From: Gordon Bateson Date: Wed, 11 May 2016 23:41:02 +0900 Subject: [PATCH] MDL-79863 qtype_ordering: qtype_ordering merge Vadim's PULL request for phpdocs and code style --- question/type/ordering/question.php | 5 +++++ question/type/ordering/version.php | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/question/type/ordering/question.php b/question/type/ordering/question.php index 1843beea3a4..ae049ff991a 100644 --- a/question/type/ordering/question.php +++ b/question/type/ordering/question.php @@ -651,6 +651,11 @@ class qtype_ordering_question extends question_graded_automatically { $prependsubset = true; $appendtosubset = true; break; + + default: // shouldn't happen !! + $tailsets = array(); + $prependsubset = false; + $appendtosubset = false; } // Append any $tailsets that were found. diff --git a/question/type/ordering/version.php b/question/type/ordering/version.php index 3658754ecad..ce83101c9db 100644 --- a/question/type/ordering/version.php +++ b/question/type/ordering/version.php @@ -29,5 +29,5 @@ $plugin->cron = 0; $plugin->component = 'qtype_ordering'; $plugin->maturity = MATURITY_STABLE; $plugin->requires = 2011070100; // Moodle 2.1. -$plugin->version = 2016050252; -$plugin->release = '2016-05-02 (52)'; +$plugin->version = 2016051153; +$plugin->release = '2016-05-11 (53)';