MDL-41114 Speeding up course listings on large sites
commite4008e9db5711fdb463f7d8df6863e159af874dd
authorMarina Glancy <marina@moodle.com>
Sun, 11 Aug 2013 11:48:30 +0000 (11 21:48 +1000)
committerMarina Glancy <marina@moodle.com>
Sun, 11 Aug 2013 11:58:12 +0000 (11 21:58 +1000)
treefe155e17a26b49173f5f7e89a2623846ee72592c
parent50ff861263265ec3d8192e153f3581d828e38984
MDL-41114 Speeding up course listings on large sites

- function coursecat::make_categories_list() does not use retrieved contexts and has to query them again.
- /course/manage.php uses field coursecat:: that was not fetched when retrieving the course category children.
lib/coursecatlib.php