From: W. Trevor King Date: Wed, 6 Oct 2010 10:37:54 +0000 (-0400) Subject: Remove mdwn.pm checkconfig() definition. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=247d3d630096a5ae3156918fdc2f853250c320c5;p=ikiwiki.git Remove mdwn.pm checkconfig() definition. 1) I'd never registered it. 2) We *don't* want to configure markdown_path by default, because when its defined it overrides any perl modules (e.g. Text::Markdown). --- diff --git a/IkiWiki/Plugin/mdwn.pm b/IkiWiki/Plugin/mdwn.pm index dc5d8f01a..e29c91355 100644 --- a/IkiWiki/Plugin/mdwn.pm +++ b/IkiWiki/Plugin/mdwn.pm @@ -27,19 +27,13 @@ sub getsetup () { }, markdown_path => { type => "string", - example => 0, + example => 0, # /usr/bin/markdown description => "path to an external markdown binary", safe => 0, rebuild => undef, }, } -sub checkconfig () { - if (! defined $config{markdown_path}) { - $config{markdown_path}="/usr/bin/markdown"; - } -} - my $markdown_sub; my $tempdir; sub htmlize (@) {