From: intrigeri Date: Mon, 26 Jan 2009 21:54:40 +0000 (+0100) Subject: po(formbuilder): stop hunting down non-existent cases X-Git-Url: https://sipb.mit.edu/gitweb.cgi/ikiwiki.git/commitdiff_plain/e0e94d47162840b01677f4a97c5f581d194ff0fb 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 --- diff --git a/IkiWiki/Plugin/po.pm b/IkiWiki/Plugin/po.pm index 659350ea0..da5812ebd 100644 --- a/IkiWiki/Plugin/po.pm +++ b/IkiWiki/Plugin/po.pm @@ -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"); - } } } }