[AMOS commit] MDL-48762 core: Add scheduled tasks to set course visibility Committed into Git: 2023-05-16 11:15 UTC

[AMOS commit] MDL-48762 core: Add scheduled tasks to set course visibility Committed into Git: 2023-05-16 11:15 UTC

by AMOS bot -
Number of replies: 0
Author: Sara Arjona
MDL-48762 core: Add scheduled tasks to set course visibility
Two new scheduled tasks, show_started_courses_task and
hide_ended_courses_task have been added, to automatically change
the course visibility when the start/end course date match the
current one.
They are disabled by default, to keep the current behaviour.
When admins enable any of them, they are executed once per
day by default (around midnight).

These scheduled tasks are based on the "CUL Course Visibility Update"
third-party plugin created by Tim Gagen and refactored and currently
maintained by Amanda Doughty:
https://moodle.org/plugins/local_culcourse_visibility

Thanks!! smile


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

+ 4.3 en [hideendedcoursestask,core_course]
+ 4.3 en [showstartedcoursestask,core_course]
+ 4.3 en [eventcourseended,core]
+ 4.3 en [eventcoursestarted,core]