From e0e94d47162840b01677f4a97c5f581d194ff0fb Mon Sep 17 00:00:00 2001 From: intrigeri Date: Mon, 26 Jan 2009 22:54:40 +0100 Subject: [PATCH] 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 --- IkiWiki/Plugin/po.pm | 5 ----- 1 file changed, 5 deletions(-) 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"); - } } } } -- 2.26.2