moodle/blocks/calendar_upcoming
martinlanghoff 37d87d11f9 calendar: performance optimisations + behaviour fix (MDL-7416 MDL-9617)
With 2500 courses the calendar was causing around 15000 queries at login and 5000 on the home page.

- Replaced queries inside loops with single unlooped queries.
- Fixed calendar so that course events will show when the users role is assigned at a category level.
- Moved calendar_session_vars() function call out of calendar/lib.php (including a lib should not have side effects)

Author: Matt Clarkson - with some conflict resolution from MartinL
2007-05-06 04:28:11 +00:00
..
db Deprecating old "upgrade" files. MDL-7214 2006-10-26 22:46:02 +00:00
block_calendar_upcoming.php calendar: performance optimisations + behaviour fix (MDL-7416 MDL-9617) 2007-05-06 04:28:11 +00:00
styles.php changed inline styles to classes to be able to handle the font sizes with the CSS files, 2005-04-22 21:13:37 +00:00