Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 3.5.3, 3.6
-
Fix Version/s: 3.5.4
-
Component/s: General, Performance
-
Testing Instructions:
-
Affected Branches:MOODLE_35_STABLE, MOODLE_36_STABLE
-
Fixed Branches:MOODLE_35_STABLE
-
Pull from Repository:
-
Pull Master Branch:
MDL-64049-master -
Pull Master Diff URL:
Description
When get_user_preferences is called with the id of the current user it does not make use of the cache in the current $USER object.
We can make use of the $USER when $userid matches $USER->id.