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

Refactor all the duplicate code related to common module settings in the get_typeofmods_by_courses web services

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • 4.1
    • 3.9.14, 3.10.11, 3.11.7, 4.0.1
    • Course, Web Services

      In order to implement MDL-74608, it is going to be more work to update all these web services than implementing all of the rest of this features, becuase whoever created all these services did it by copy-paste, rather than to writing a few functions to handle the common module settings consistently.

      Rather than doing lots more copying and pasting in MDL-74608, I decided to do it prperly, and create this issue to re-factor the existing services to use some common helper methods. Then, implementing MDL-74608 will be easy.

            timhunt Tim Hunt
            timhunt Tim Hunt
            Laurent David Laurent David
            Ilya Tregubov Ilya Tregubov
            CiBoT CiBoT
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 3 hours, 1 minute
                3h 1m

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