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
parent
fcaa7f6237
commit
e0e94d4716
|
@ -535,11 +535,6 @@ sub formbuilder (@) {
|
|||
my @types = grep { $_ ne 'po' } $field->options;
|
||||
$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");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue