Remove debug code from the Event for logging.
This commit is contained in:
parent
626011a850
commit
b619392d2e
1 changed files with 0 additions and 4 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue