Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-83764

Deprecate externservercourse.php feature

XMLWordPrintable

    • 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:

      1. Add a deprecation message to core_courseformat\hook_listener::before_course_view method
      2. Create a final deprecation issue in the 6.0 deprecation epic (MDL-78075) and add @todo tags to the current listener.

       

        1. externservercourse.php
          0.1 kB
        2. MDL-83764.png
          MDL-83764.png
          136 kB
        3. screenshot-1.png
          screenshot-1.png
          536 kB

            laurent.david@moodle.com Laurent David
            tusefomal Ferran Recio
            Carlos Escobedo Carlos Escobedo
            Sara Arjona (@sarjona) Sara Arjona (@sarjona)
            Ron Carl Alfon Yu Ron Carl Alfon Yu
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 day, 2 hours, 13 minutes
                1d 2h 13m

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.