MDL-37455 Performance improvement in mod_folder
authorMarina Glancy <marina@moodle.com>
Thu, 24 Jan 2013 01:39:26 +0000 (12:39 +1100)
committerMarina Glancy <marina@moodle.com>
Sat, 23 Feb 2013 01:03:58 +0000 (12:03 +1100)
commitec62d8b4e5ae47df2f368de70f7050ae07d98295
treee0e5607d8c0b375fdb53898f5af5d67a6bef95ce
parent38199c247b37cdd5cbddc63f60ddf99d22a550ed
MDL-37455 Performance improvement in mod_folder

We cache and store additional data in cm_info::customdata and do not
query DB every time the folder is displayed on a course page
mod/folder/lib.php
mod/folder/renderer.php