summaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2009-01-26 22:54:40 +0100
committerintrigeri <intrigeri@boum.org>2009-01-26 22:54:40 +0100
commite0e94d47162840b01677f4a97c5f581d194ff0fb (patch)
tree7721e19c1fc6458886bb72fbbb36e57cb91b74ef /IkiWiki/Plugin
parentfcaa7f6237ac2b2b372cb26aed136f8a364d6ed5 (diff)
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>
Diffstat (limited to 'IkiWiki/Plugin')
-rw-r--r--IkiWiki/Plugin/po.pm5
1 files changed, 0 insertions, 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");
- }
}
}
}