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

Performance improvement in groups_get_activity_groupmode()

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.5.1
    • 2.6
    • Groups
    • None
    • MOODLE_25_STABLE
    • MOODLE_26_STABLE
    • wip-MDL-40897-master
    • Hide

      no functionality change. Just a quick test for regressions

      1. Create course and an assignment in separate group mode.
      2. Enrol two student and two teachers - one of each in group1 and one in group2 (make sure teacher can not accessallgroups)
      3. Submit assignments as both students, make sure each teacher can download only his group assignments
      Show
      no functionality change. Just a quick test for regressions Create course and an assignment in separate group mode. Enrol two student and two teachers - one of each in group1 and one in group2 (make sure teacher can not accessallgroups) Submit assignments as both students, make sure each teacher can download only his group assignments

    Description

      groups_get_activity_groupmode() has an extra query to course table when passed argument is an instance of cm_info.

      Attachments

        Issue Links

          Activity

            People

              marina Marina Glancy
              marina Marina Glancy
              Sam Hemelryk Sam Hemelryk
              Frédéric Massart Frédéric Massart
              David Woloszyn, Huong Nguyen, Jake Dallimore, Michael Hawkins, Stevani Andolo
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                18/Nov/13