X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/b66a38ca78330005029fa9bd950e11c4eb89f010..22f2c3e86aeea63b9e25b6ba249ca9062ae337f8:/SL/DB/TimeRecording.pm diff --git a/SL/DB/TimeRecording.pm b/SL/DB/TimeRecording.pm index 970fa8738..62143b309 100644 --- a/SL/DB/TimeRecording.pm +++ b/SL/DB/TimeRecording.pm @@ -119,14 +119,4 @@ sub displayable_times { return ($self->start_time_as_timestamp||$ph) . ' - ' . ($self->end_time_as_timestamp||$ph); } -sub duration { - my ($self) = @_; - - if ($self->start_time && $self->end_time) { - return ($self->end_time->subtract_datetime_absolute($self->start_time))->seconds/60.0; - } else { - return; - } -} - 1;