Details
-
Type:
Improvement
-
Status: Closed
-
Priority:
Minor
-
Resolution: Deferred
-
Affects Version/s: 3.2.6, 3.3.3, 3.4
-
Fix Version/s: None
-
Labels:
-
Testing Instructions:
-
Affected Branches:MOODLE_32_STABLE, MOODLE_33_STABLE, MOODLE_34_STABLE
-
Pull from Repository:
-
Pull Master Branch:
MDL-60802-master -
Pull Master Diff URL:
Description
It was proposed as part of MDL-60683 that the quiz module & it's sub-plugins should move to scheduled tasks, and it would be desirable that a notice was raised if any of its sub-plugins were still using the cron.
This is a proposal for a general fix, instead of replicating much of this code to simply output a DEBUG_DEVELOPER message.
The cron_execute_plugin_type() }}function in {{/lib/cronlib.php is used to find out
- if a particular plugin implements the *_cron() function in its lib.php
- Executes the identified *_cron() functions
This would also produce as part of the legacy_cron_plugin_cron_task task a list of plugins using the legacy cron system
Attachments
Issue Links
- Testing discovered
-
MDL-60683 Quiz uses legacy cron
-
- Closed
-