From dcb709fdf53c8ef138a8dc5645fd5c13192783bb Mon Sep 17 00:00:00 2001 From: Graham Knop Date: Tue, 27 May 2008 23:06:09 +0000 Subject: [PATCH] remove redundant sub --- lib/WebGUI/DateTime.pm | 23 ----------------------- 1 file changed, 23 deletions(-) diff --git a/lib/WebGUI/DateTime.pm b/lib/WebGUI/DateTime.pm index c73c86cd0..aa6898e1b 100755 --- a/lib/WebGUI/DateTime.pm +++ b/lib/WebGUI/DateTime.pm @@ -464,29 +464,6 @@ sub truncate { } -####################################################################### - -=head2 set - -Handle copying all WebGUI::DateTime specific data. This is an object method. - -This method overrides the set in DateTime to keep WebGUI::DateTime specific -information being passed between object instances. Some DateTime operations -create a new object. - -=cut - -sub set { - my $self = shift; - my $session = $self->session; - - my $copy = $self->SUPER::set(@_); - - $copy->session($session); - return $copy; -} - - ####################################################################### =head2 session