Permalink
Browse files

MDL-10353, (calendar) accidentally backported new stuff from HEAD

  • Loading branch information...
1 parent 0483736 commit 3f9fd1987c6dfb15b733b084516c1e31d335b49c toyomoyo committed Oct 4, 2007
Showing with 0 additions and 6 deletions.
  1. +0 −6 calendar/view.php
View
@@ -258,12 +258,6 @@ function calendar_show_day($d, $m, $y, $courses, $groups, $users, $courseid) {
// First, print details about events that start today
foreach ($events as $event) {
-
- // Set event course class if a course event
- if($event->courseid != 0 && $event->courseid != SITEID && $event->groupid == 0) {
- $event->class = 'event_course'.array_search($event->courseid, $courses) % CALENDAR_MAXCOURSES;
- }
- $event->calendarcourseid = $courseid;
if ($event->timestart >= $starttime && $event->timestart <= $endtime) { // Print it now

0 comments on commit 3f9fd19

Please sign in to comment.