From b619392d2e8972dfd653190ec519c09b6d00ded9 Mon Sep 17 00:00:00 2001 From: Colin Kuskie Date: Mon, 28 Nov 2011 10:23:13 -0800 Subject: [PATCH] Remove debug code from the Event for logging. --- lib/WebGUI/Asset/Event.pm | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lib/WebGUI/Asset/Event.pm b/lib/WebGUI/Asset/Event.pm index 6a7f7d872..df1b2b578 100644 --- a/lib/WebGUI/Asset/Event.pm +++ b/lib/WebGUI/Asset/Event.pm @@ -1805,11 +1805,9 @@ sub update { if ($startHour > 23) { $startHour = 0; my $startDate = exists $properties->{startDate} ? $properties->{startDate} : $self->get('startDate'); - $session->log->warn('startDate: '. $startDate); my $startDt = WebGUI::DateTime->new($session, $startDate); $startDt->add(days => 1); $properties->{startDate} = $startDt->toMysqlDate; - $session->log->warn('startDate: '. $properties->{startDate}); $startSecond = '00' if ! $startSecond; $properties->{startTime} = sprintf '%02d:%02d:%02d', $startHour, $startMinute, $startSecond; } @@ -1819,11 +1817,9 @@ sub update { if ($endHour > 23) { $endHour = 0; my $endDate = exists $properties->{endDate} ? $properties->{endDate} : $self->get('endDate'); - $session->log->warn('endDate: '. $endDate); my $endDt = WebGUI::DateTime->new($session, $endDate); $endDt->add(days => 1); $properties->{endDate} = $endDt->toMysqlDate; - $session->log->warn('endDate: '. $properties->{endDate}); $endSecond = '00' if ! $endSecond; $properties->{endTime} = sprintf '%02d:%02d:%02d', $endHour, $endMinute, $endSecond; }