MDL-59973 calendar: Remove duplication
The function calendar_get_default_courses is responsible for loading all variants of calendar course lists. 1 the list of courses that the current user will see events for in the site calendar. 2 the list of courses the current user will see when they are looking at a specific course calendar. 3 the list of course calendars the current user can create / edit events in.