Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Critical
-
Resolution: Fixed
-
Affects Version/s: 3.3, 3.4
-
Testing Instructions:
-
Affected Branches:MOODLE_33_STABLE, MOODLE_34_STABLE
-
Fixed Branches:MOODLE_33_STABLE, MOODLE_34_STABLE
-
Pull from Repository:
-
Pull Master Branch:
MDL-60188-master -
Pull Master Diff URL:
Description
The calendar calls the function groups_get_user_groups quite often, which executes one database query each time.
When a user is enrolled in 130 courses, I observed that the dashboard generates about 1200 queries, 920 of these thanks to the calendar calling groups_get_user_groups.
Attachments
Issue Links
- caused a regression
-
MDL-61640 User group/grouping changes has no immediate effect
-
- Open
-