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

Details

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              timhunt Tim Hunt
              timhunt Tim Hunt
              Laurent David Laurent David
              Ilya Tregubov Ilya Tregubov
              CiBoT CiBoT
              Amaia Anabitarte, Bas Brands, Carlos Escobedo, Laurent David, Sabina Abellan, Sara Arjona (@sarjona), Juan Leyva, David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                28/Nov/22

                Time Tracking

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