mirrored from git://git.moodle.org/moodle.git
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MDL-43721 Assign + groups: Improve performance of assign grading table
Add a function to the groups lib to filter a list of users down to the ones who can see the module. Required because calling groups_course_module_visible() for a list of users is too slow and we shouldn't spread group logic outside of grouplib.php. Using it in the assign grading table reduces DB queries from 6198/1 to 256/3. This is 12secs down to 2.5secs. Conflicts: mod/assign/locallib.php
- Loading branch information
Damyon Wiese
committed
Mar 6, 2014
1 parent
6a5effb
commit 32c9c25
Showing
2 changed files
with
89 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters