Details
-
Type:
Improvement
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 3.6
-
Fix Version/s: 3.7
-
Component/s: Privacy
-
Labels:
-
Testing Instructions:
-
Affected Branches:MOODLE_36_STABLE
-
Fixed Branches:MOODLE_37_STABLE
-
Epic Link:
-
Pull from Repository:
-
Pull Master Branch:
MDL-63785-master -
Pull Master Diff URL:
Description
Reduce the number of joins in get_users_in_context where possible.
there is no need to join on the context table when the context is either context_block, context_user or context_course because in those cases we already know that $context->instanceid is equal to $blockinstanceid, $userid or $courseid respectively.
Attachments
Issue Links
- has to be done before
-
MDL-64782 performance improvement for get_users_in_context (take #2)
-
- Closed
-