From 1c4bedd7ddba8baa922d4b17043656cd1dc40187 Mon Sep 17 00:00:00 2001 From: dwoolhead Date: Wed, 13 Jun 2007 10:37:05 +0000 Subject: [PATCH] MDL-10048 General calendar view enhancements as per spec with regard to event highlighting --- calendar/lib.php | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/calendar/lib.php b/calendar/lib.php index e5474deb696..cfaced8305c 100644 --- a/calendar/lib.php +++ b/calendar/lib.php @@ -1474,12 +1474,7 @@ function calendar_format_event_time($event, $now, $morehref, $usecommonwords = t } } } else { - // It's an "instantaneous" event - if ($event->timestart != usergetmidnight($event->timestart)) { - $time = ', '.calendar_time_representation($event->timestart); - } else { - $time = ' '; - } + $time = ' '; // Set printable representation if (!$showtime) {