From dceeeb29e0268f25f4452d36dfe2b0c9a7ef20a9 Mon Sep 17 00:00:00 2001 From: Dan Poltawski Date: Fri, 30 Nov 2012 11:44:33 +0800 Subject: [PATCH 1/1] MDL-36887 quiz: reorder upgrade.txt's --- mod/quiz/accessrule/upgrade.txt | 10 ++++------ question/behaviour/upgrade.txt | 13 ++++++------- question/format/upgrade.txt | 11 ++++++----- 3 files changed, 16 insertions(+), 18 deletions(-) diff --git a/mod/quiz/accessrule/upgrade.txt b/mod/quiz/accessrule/upgrade.txt index 12f117ba82f..78f202ee802 100644 --- a/mod/quiz/accessrule/upgrade.txt +++ b/mod/quiz/accessrule/upgrade.txt @@ -2,14 +2,12 @@ This files describes API changes for quiz access rule plugins. Overview of this plugin type at http://docs.moodle.org/dev/Quiz_access_rules - -=== 2.2 === - -* This plugin type was new in Moodle 2.2! - - === 2.3 === * This plugin type now supports cron in the standard way. If required, Create a lib.php file containing function quizaccess_mypluginname_cron() {}; + +=== 2.2 === + +* This plugin type was new in Moodle 2.2! diff --git a/question/behaviour/upgrade.txt b/question/behaviour/upgrade.txt index 5f51d0aff00..abe0b393525 100644 --- a/question/behaviour/upgrade.txt +++ b/question/behaviour/upgrade.txt @@ -1,5 +1,11 @@ This files describes API changes for question behaviour plugins. +=== 2.3 === + +* This plugin type now supports cron in the standard way. If required, Create a + lib.php file containing +function qbehaviour_mypluginname_cron() {}; + === 2.2 === 1) The old @@ -14,10 +20,3 @@ $plugin->dependencies = array( is_compatible_question method. You should change your behaviour to override the new method, not the old one. This change has been implemented in a backwards-compatible way, so behaviours will not break. - - -=== 2.3 === - -* This plugin type now supports cron in the standard way. If required, Create a - lib.php file containing -function qbehaviour_mypluginname_cron() {}; diff --git a/question/format/upgrade.txt b/question/format/upgrade.txt index b31a7a08ad8..53943c0c219 100644 --- a/question/format/upgrade.txt +++ b/question/format/upgrade.txt @@ -1,5 +1,11 @@ This files describes API changes for question import/export format plugins. +=== 2.3 === + +* This plugin type now supports cron in the standard way. If required, Create a + lib.php file containing +function qformat_mypluginname_cron() {}; + === 2.1.5 / 2.2.3 / 2.3 === * The readquestions method used to take a second argument $context. However, at @@ -25,8 +31,3 @@ $string['pluginname_help'] = 'This is a simple format ...'; $string['pluginname_link'] = 'qformat/aiken'; -=== 2.3 === - -* This plugin type now supports cron in the standard way. If required, Create a - lib.php file containing -function qformat_mypluginname_cron() {}; -- 2.43.0