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=72901ac8465fe51fa2e206fe63f9f076e95fa895
http://github.com/moodle/moodle/commit/72901ac8465fe51fa2e206fe63f9f076e95fa895
+ 3.4 en [cachedef_calendar_categories,core_cache]