mirrored from git://git.moodle.org/moodle.git
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MDL-30635 enable standard cron for all question and quiz plugin types.
* Support for old non-standard cron for quiz reports dropped. (Standard cron support was added in 2.2 * Cron support added for qbehaviour, qformat and quizacces plugins. * qtypes were already supported in the standard way.
- Loading branch information
Showing
14 changed files
with
146 additions
and
105 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
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() {}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
This files describes API changes for quiz report plugins. | ||
|
||
Overview of this plugin type at http://docs.moodle.org/dev/Quiz_reports | ||
|
||
|
||
=== earlier versions === | ||
|
||
* ... API changes were not documented properly. Sorry. (There weren't many!) | ||
|
||
|
||
=== 2.2 === | ||
|
||
* Plugins should be converted to implement cron in the standard way. In lib.php, | ||
define a | ||
function quiz_myreportname_cron() {}; | ||
This replaces the old way of having a separate cron.php file. Also, the cron | ||
frequency should be defined in version.php, not in the quiz_reports table. | ||
|
||
|
||
=== 2.3 === | ||
|
||
* Support for the old way of doing cron in a separate cron.php file has been removed. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters