-
Improvement
-
Resolution: Fixed
-
Minor
-
5.0
-
MOODLE_500_STABLE
-
MOODLE_500_STABLE
-
MDL-83764-main -
-
-
-
1
-
HQ 2025 Planning I1 Moppies
In MDL-83473 a new before_course_view hooks was introduced. This hook replaces the old /course/externservercourse.php but leaves a legacy hook listener for backward compatibility.
However, keeping the "/course/externservercourse.php" inclusion generates more problems than solutions: it is a third-party file, but it is located in a completely random place in the core; it is globally scoped and expects many undocumented global variables...
Everything that can be done in externservercourse could be easily coded in a hook listener from a local or a theme plugin.
This issue goals are:
- Add a deprecation message to core_courseformat\hook_listener::before_course_view method
- Create a final deprecation issue in the 6.0 deprecation epic (MDL-78075) and add @todo tags to the current listener.
- has a non-specific relationship to
-
MDL-83839 Final deprecation of externservercourse.php
-
- Open
-
- has been marked as being related by
-
MDL-83587 Forwarding of enrollments for course redirections
-
- Closed
-
- is blocked by
-
MDL-83473 Replacement of extern_server_course function in course/view.php by hooks api
-
- Closed
-
- mentioned in
-
Page Loading...