From c5203cb737ad1c8bdc4ccd22be3f28416ecda88e Mon Sep 17 00:00:00 2001 From: Colin Kuskie Date: Sun, 6 Jun 2010 22:32:40 -0700 Subject: [PATCH] Remove some debug code. --- lib/WebGUI/Form/FieldType.pm | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/WebGUI/Form/FieldType.pm b/lib/WebGUI/Form/FieldType.pm index ba553ab52..d0bff2b5a 100644 --- a/lib/WebGUI/Form/FieldType.pm +++ b/lib/WebGUI/Form/FieldType.pm @@ -125,9 +125,7 @@ sub getTypes { } my %fields = (); foreach my $type (@types) { - my $name = WebGUI::Pluggable::instanciate('WebGUI::Form::'.ucfirst($type), 'getName', [$self->session]); - $self->session->log->warn("type: $type; name: $name"); - $fields{$type} = $name; + $fields{$type} = WebGUI::Pluggable::instanciate('WebGUI::Form::'.ucfirst($type), 'getName', [$self->session]); } return \%fields; }