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

move_courses() performance improvement

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.6
    • Fix Version/s: 2.6
    • Component/s: Course
    • Labels:
    • Sprint:
      BACKEND Sprint 4

      Description

      move_courses() performs 100 DB queries for one record instead of 1 DB query for 100 records.

      Also in MDL-39957 we forgot to update visibility value:
      https://github.com/moodle/moodle/commit/ed54cb411#L0R2061

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              marina Marina Glancy
              Reporter:
              marina Marina Glancy
              Peer reviewer:
              Sam Hemelryk Sam Hemelryk
              Integrator:
              Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
              Tester:
              Ankit Agarwal Ankit Agarwal
              Participants:
              Component watchers:
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                18/Nov/13