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

Move global function for activity editing to core_courseformat\cmactions methods.

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • 5.0
    • Course

      Since Moodle 4.4 some course activity editing global functions have been moved to format actions (core_courseformat/cmactions). However, many are still in course/lib.php and should be moved.

      Some of the functions to migrate are:


      • duplicate_module
      • course_delete_module

      • moveto_module
      • set_coursemodule_visible (and extract the stealth logic to another method)
      • set_coursemodule_groupmode
         

      This issue also includes adding deprecation messages to the global functions. However, if for some reason that was not possible, it can wait until MDL-80482.

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

              Created:
              Updated:

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