From e90368baa1491a85c5d60bff27b4abb1b61f5ea4 Mon Sep 17 00:00:00 2001 From: Colin Kuskie Date: Fri, 23 Jan 2009 19:06:46 +0000 Subject: [PATCH] Image can inherit getStorageLocation from its parent since WebGUI::Storage::Image was absorbed into WebGUI::Storage. --- lib/WebGUI/Form/Image.pm | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/lib/WebGUI/Form/Image.pm b/lib/WebGUI/Form/Image.pm index 40d4503f7..b72b10c09 100644 --- a/lib/WebGUI/Form/Image.pm +++ b/lib/WebGUI/Form/Image.pm @@ -123,22 +123,6 @@ sub getName { return WebGUI::International->new($session, 'WebGUI')->get('image'); } -#------------------------------------------------------------------- - -=head2 getStorageLocation ( ) - -Returns the WebGUI::Storage object for this control. - -=cut - -sub getStorageLocation { - my $self = shift; - my $value = $self->getOriginalValue; - my $storage = WebGUI::Storage->get($self->session, $value) if ($value); - return $storage; -} - - #------------------------------------------------------------------- =head2 getValue ( )