Skip to content

Commit

Permalink
MDL-36887 quiz: reorder upgrade.txt's
Browse files Browse the repository at this point in the history
  • Loading branch information
danpoltawski authored and Sam Hemelryk committed Dec 9, 2012
1 parent efd08cd commit 0e7cadc
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 19 deletions.
12 changes: 6 additions & 6 deletions mod/quiz/accessrule/upgrade.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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.
13 changes: 6 additions & 7 deletions question/behaviour/upgrade.txt
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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() {};
12 changes: 6 additions & 6 deletions question/format/upgrade.txt
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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.