The add_to_log() function is being replaced by event triggering.
While all add_to_log() calls in core are being replaced, the function should be marked as deprecated so that messages are shown to developers of add-ons to prompt them to upgrade. It would be good to direct them to transition documentation in such messages. This might also help discover add_to_log() calls we might have missed in core.
This issue represents the first stage of deprecation. A period of deprecation should be decided (default is two versions, but this may need longer) and a second issue should be created to finalise the deprecation. See http://docs.moodle.org/dev/Deprecation#Moodle_Core_deprecation_process
- has been marked as being related by
-
CONTRIB-5492 Debugging message: add_to_log() has been deprecated, please rewrite your code to the new events API
-
- Closed
-
- is blocked by
-
MDL-40907 Replace add_to_log with an event trigger - course module
-
- Closed
-
-
MDL-41185 Create page viewed event for course
-
- Closed
-
-
MDL-43966 Write transition guide for events and logging
-
- Closed
-
-
MDL-40063 Replace add_to_log with an event trigger - mod_quiz
-
- Closed
-
-
MDL-40908 Replace add_to_log with an event trigger - tag
-
- Closed
-
-
MDL-41123 Replace add_to_log call for page viewed in /report/completion/user.php
-
- Closed
-
-
MDL-44340 Replace add_to_log in mod_workshop (part 2)
-
- Closed
-