MDL-51241 cohorts: Update to cohort query.
authorAdrian Greeve <adrian@moodle.com>
Tue, 15 Sep 2015 05:50:03 +0000 (13:50 +0800)
committerAdrian Greeve <adrian@moodle.com>
Thu, 17 Sep 2015 23:30:37 +0000 (07:30 +0800)
commitde66ddea5fbd080eb2fcefd4cafdcc5354df9953
treebdf01f161207d0fd20c5d71bc6cc4ebab762bb73
parentd230899db89b3c1539bdd1be3f3f776cfe3a85f4
MDL-51241 cohorts: Update to cohort query.

This improves the speed of returning a list of
cohorts. Thanks to Fran├žois Gannaz for providing
this patch.
cohort/lib.php