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

Deprecate course_get_cm_edit_actions function

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • Future Dev
    • Course

      Since 4.0, most course format rendering has been moved to output classes. However, some global functions are still used because of legacy code.

      This issue concerns deprecating the old course_get_cm_edit_actions and incorporating all the logic into the core_courseformat\output\local\content\cm\controlmenu class. It will also include replacing all uses of that function with the output.

      The final implementation will be similar to the one done in the sections control menu: core_courseformat\output\local\content\section\controlmenu, using smaller methods and making the final code more maintainable.

      Once the change has been done, the issue will also check if the three action menus section\controlmenu, cm\controlmenuĀ  and cm/delegatedcontrolmenu.php can be refactor so basecontrolmenu class can unify more logic.

            Unassigned Unassigned
            tusefomal Ferran Recio
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

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