po(formbuilder): stop hunting down non-existent cases

After some thinking about it, I can't find why the type of a page being created
in the CGI could be restricted to po. So the previous case seems enough.

Signed-off-by: intrigeri <intrigeri@boum.org>
master
intrigeri 2009-01-26 22:54:40 +01:00
parent fcaa7f6237
commit e0e94d4716
1 changed files with 0 additions and 5 deletions

View File

@ -535,11 +535,6 @@ sub formbuilder (@) {
my @types = grep { $_ ne 'po' } $field->options; my @types = grep { $_ ne 'po' } $field->options;
$field->options(\@types) if @types; $field->options(\@types) if @types;
} }
else {
# make sure the default value is not po;
# does this case actually happen?
debug "po(formbuilder) ".gettext("type field is not selected - not implemented yet");
}
} }
} }
} }