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

DB Query in loop in enrol/meta/lib.php::edit_instance_validation

    XMLWordPrintable

Details

    Description

      The edit_instance_validation function checks for existing meta enrolment instances.
      It does so in a loop.

      It should ideally fetch all of them in a single query, indexed by the course being meta-linked.

      Attachments

        Issue Links

          Activity

            People

              vtos Vitaly Potenko
              dobedobedoh Andrew Lyons
              Simey Lameze Simey Lameze
              Adrian Greeve Adrian Greeve
              CiBoT CiBoT
              Votes:
              3 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 7 hours, 25 minutes
                  7h 25m

                  Clockify

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