Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
3.5.3, 3.6
-
MOODLE_35_STABLE, MOODLE_36_STABLE
-
MOODLE_35_STABLE
-
MDL-64049-master -
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.