[AMOS commit] MDL-61165 core: Final deprecation and removal of legacy cron. Committed into Git: 2022-05-27 15:16 UTC

[AMOS commit] MDL-61165 core: Final deprecation and removal of legacy cron. Committed into Git: 2022-05-27 15:16 UTC

by AMOS bot -
Number of replies: 0
Author: Daniel Ziegenberg
MDL-61165 core: Final deprecation and removal of legacy cron.
Following MDL-52846 this now finally deprecates and removes the
following classes:
- \core\task\legacy_plugin_cron_task.
- \mod_quiz\task\legacy_quiz_reports_cron
- \mod_quiz\task\legacy_quiz_accessrules_cron
- \mod_workshop\task\legacy_workshop_allocation_cron

Please, use the Task API instead:
https://moodledev.io/docs/apis/subsystems/task

This also removes the corresponding and specific to legacy cron strings
from mod_quiz and mod_workshop.

Following MDL-52846 this now finally deprecates and removes the
functions:
- cron_execute_plugin_type()
- cron_bc_hack_plugin_functions()

Please, use the Task API instead:
https://moodledev.io/docs/apis/subsystems/task

Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>


http://git.moodle.org/gw?p=moodle.git;a=commit;h=7ff4626871dcf0a3789beff3edbc9105ab04839e
http://github.com/moodle/moodle/commit/7ff4626871dcf0a3789beff3edbc9105ab04839e

- 4.3 en [legacyquizaccessrulescron,mod_quiz]
- 4.3 en [legacyquizreportscron,mod_quiz]
- 4.3 en [legacyallocationplugincron,mod_workshop]