MDL-36887 quiz: reorder upgrade.txt's

This commit is contained in:
Dan Poltawski 2012-11-30 11:41:01 +08:00
parent 663dbbc2e6
commit 054124a3ed
3 changed files with 18 additions and 19 deletions

View File

@ -2,11 +2,9 @@ This files describes API changes for quiz access rule plugins.
Overview of this plugin type at http://docs.moodle.org/dev/Quiz_access_rules Overview of this plugin type at http://docs.moodle.org/dev/Quiz_access_rules
=== 2.4 ===
=== 2.2 === * Replaced time_left() with new time_left_display() and end_time() functions.
* This plugin type was new in Moodle 2.2!
=== 2.3 === === 2.3 ===
@ -14,6 +12,8 @@ Overview of this plugin type at http://docs.moodle.org/dev/Quiz_access_rules
lib.php file containing lib.php file containing
function quizaccess_mypluginname_cron() {}; 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 File

@ -1,5 +1,11 @@
This files describes API changes for question behaviour plugins. 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 === === 2.2 ===
1) The old 1) The old
@ -14,10 +20,3 @@ $plugin->dependencies = array(
is_compatible_question method. You should change your behaviour to override the 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 new method, not the old one. This change has been implemented in a
backwards-compatible way, so behaviours will not break. 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 File

@ -1,5 +1,11 @@
This files describes API changes for question import/export format plugins. 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 === === 2.1.5 / 2.2.3 / 2.3 ===
* The readquestions method used to take a second argument $context. However, at * 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_help'] = 'This is a simple format ...';
$string['pluginname_link'] = 'qformat/aiken'; $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() {};