]> git.mjollnir.org Git - moodle.git/commit
MDL-11180 datalib: get_courses() - grab the course context as part of the select
authormartinlanghoff <martinlanghoff>
Tue, 26 Feb 2008 21:48:08 +0000 (21:48 +0000)
committermartinlanghoff <martinlanghoff>
Tue, 26 Feb 2008 21:48:08 +0000 (21:48 +0000)
commit656418b17923b3da40c7133921a2c4129859e8b2
treed7825c3a36c63de42c2d8541c215eb008b83f4cd
parent525041df91c44642eb12c64830078447cc7585f4
MDL-11180 datalib: get_courses() - grab the course context as part of the select

This speeds up course & category listing enormously - cutting 2500 DB queries
for a site with 2500 courses. It's the power of the JOIN...
lib/datalib.php