Commit Graph

12 Commits

Author SHA1 Message Date
raortegar ab1fcc6db4 MDL-80930 core: Course delete modules task handle non deletable cms 2024-03-01 13:19:06 +01:00
Huong Nguyen 53f840cd4a Merge branch 'MDL-80809-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE 2024-02-08 16:06:15 +08:00
Paul Holden f2358a0d24 MDL-80809 course: correct context arguments when formatting strings. 2024-02-01 18:16:23 +00:00
Paul Holden cfd56552f7 MDL-80803 course: observe mod availability before update notification. 2024-02-01 14:51:33 +00:00
Mikel Martín bd7cc81be6 MDL-78744 completion: Split activity_information in completion and dates
Deprecate core_course\output\activity_information class and move its code to two
new classes: core_course\output\activity_completion and core_course\output\activity_dates.
In this process refactor activity_completion improving readability and and also deprecate
renderer_base::activity_information() and core_course_renderer::render_activity_information().
2023-09-04 11:37:20 +02:00
Amrita Deb Dutta 8974cc057c MDL-77833 course: content change notification multilang processing
adding context to format_string

fix multilang in coursename

change context param
2023-04-13 11:30:43 +02:00
Andrew Nicols 9ec46c232d MDL-77186 core: Move all uses of cronlib to new class 2023-03-13 21:21:13 +08:00
Paul Holden 06f013eec6 MDL-76023 course: fix access to custom data in notification task.
The message class `customdata` property is automatically JSON encoded
via magic setter method, so we can't append to it directly.
2022-10-19 18:49:04 +01:00
Juan Leyva 6f0f979ae3 MDL-70083 message: Updated content notification task 2021-11-04 12:23:21 +01:00
Tomo Tsuyuki 14d11b8f0e MDL-71207 course: Add info for task error 2021-06-08 09:44:59 +10:00
David Monllao 44eb1490c4 MDL-54751 course: Set adhoc task user
We should complete the deletion process using the same
user that started it.

Added a new param to loginas() to prevent the event to be generated as
there is no need to generate an new event for that as the user didn't
explicitly loginas again.
2016-11-08 09:45:07 +08:00
Jake Dallimore 37da62f360 MDL-54751 core_course: Create adhoc task for course module deletion 2016-11-07 07:41:59 +08:00