moodle/calendar
gustav_delius b63c0ee521 Fixes a bug with user events created by an activity module.
The old code assumed that the courseid would always be set but that is only the case for course events, not for user or group events. (See http://moodle.org/mod/forum/discuss.php?d=4466#20827 for a discussion about the meaning of the courseid field in the event table)
I also made the $courseid argument to get_coursemodule_from_instance() optional. It is not needed and in some cases it will not be know, as for example for non-course events created by activity modules.
2004-12-26 13:58:07 +00:00
..
2004-05-24 02:54:41 +00:00
2004-12-16 18:49:57 +00:00
2004-09-16 17:13:57 +00:00
2004-12-16 18:49:57 +00:00