Skip to content
Browse files

MDL-36887 quiz: reorder upgrade.txt's

  • Loading branch information...
1 parent efd08cd commit 0e7cadca03493110492b8cfe21ab617e9cae7717 @danpoltawski danpoltawski committed with Sam Hemelryk Nov 30, 2012
Showing with 18 additions and 19 deletions.
  1. +6 −6 mod/quiz/accessrule/upgrade.txt
  2. +6 −7 question/behaviour/upgrade.txt
  3. +6 −6 question/format/upgrade.txt
View
12 mod/quiz/accessrule/upgrade.txt
@@ -2,18 +2,18 @@ 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.4 ===
-=== 2.2 ===
-
-* This plugin type was new in Moodle 2.2!
-
+* Replaced time_left() with new time_left_display() and end_time() functions.
=== 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.4 ===
+=== 2.2 ===
+
+* This plugin type was new in Moodle 2.2!
+
-* Replaced time_left() with new time_left_display() and end_time() functions.
View
13 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() {};
View
12 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
@@ -24,9 +30,3 @@ $string['pluginname'] = 'Aiken format';
$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() {};

0 comments on commit 0e7cadc

Please sign in to comment.
Something went wrong with that request. Please try again.