From: Simon McVittie Date: Sun, 23 Nov 2008 17:07:28 +0000 (+0000) Subject: comments: make preprocess a no-op X-Git-Tag: 2.71~119 X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/commitdiff_plain/4972baac4dde88b52983f10f4fed6117c71d4fad?ds=sidebyside;hp=-c comments: make preprocess a no-op --- 4972baac4dde88b52983f10f4fed6117c71d4fad diff --git a/IkiWiki/Plugin/comments.pm b/IkiWiki/Plugin/comments.pm index 25f1b62f0..a7b166232 100644 --- a/IkiWiki/Plugin/comments.pm +++ b/IkiWiki/Plugin/comments.pm @@ -41,9 +41,7 @@ sub getsetup () { #{{{ sub preprocess (@) { #{{{ my %params=@_; - unless (length $config{cgiurl}) { - error(gettext("[[!comments plugin requires CGI enabled]]")); - } + return ""; my $page = $params{page}; $pagestate{$page}{comments}{comments} = defined $params{closed}