Author: Martin Gauk
MDL-61519 calendar: do not iterate through all categories
Replace calls to \coursecat::get_all() or cache the results.
http://git.moodle.org/gw?p=moodle.git;a=commit;h=c4172077dfd9432f9aa40aa8a0b7ab9e094359e6
http://github.com/moodle/moodle/commit/c4172077dfd9432f9aa40aa8a0b7ab9e094359e6
+ 3.5 en [cachedef_calendar_categories,core_cache]