MDL-64521 grouplib: reduce memory use in groups_get_all_groups
authorTim Hunt <T.J.Hunt@open.ac.uk>
Mon, 21 Jan 2019 13:17:56 +0000 (13:17 +0000)
committerTim Hunt <T.J.Hunt@open.ac.uk>
Tue, 22 Jan 2019 16:42:18 +0000 (16:42 +0000)
commita73fa10678e1f7b3005a5c10c3592d19b466b40a
treee1fa55faeb95f8ff0db2e5c02808b9bab1e87ef6
parentc092f75791be10f8f2ee382cd73ac1cdcf3a6feb
MDL-64521 grouplib: reduce memory use in groups_get_all_groups

This avoids loading multiple copies of g.* when $withmembers is true
lib/grouplib.php