Notification of string changes

[AMOS commit] MDL-60188 groups: cache user's groups and groupings Committed into Git: 2017-11-23 17:06 UTC

 
Picture of AMOS bot
[AMOS commit] MDL-60188 groups: cache user's groups and groupings Committed into Git: 2017-11-23 17:06 UTC
by AMOS bot - Friday, 1 December 2017, 2:32 AM
 
Author: Shamim Rezaie
MDL-60188 groups: cache user's groups and groupings
The function groups_get_user_groups is called too often both before rendering the page and after the page is rendered (using ajax).
The function was executing a query joining 3 tables in each call. The plementation of the function has now modified to store the
query result in a request cache.


http://git.moodle.org/gw?p=moodle.git;a=commit;h=4d7d71fb37c13b3f08e950a52aedf4242366836c
http://github.com/moodle/moodle/commit/4d7d71fb37c13b3f08e950a52aedf4242366836c

+ 3.3 en [cachedef_user_group_groupings,core_cache]