comments: make preprocess a no-op

master
Simon McVittie 2008-11-23 17:07:28 +00:00
parent 1c1437995c
commit 4972baac4d
1 changed files with 1 additions and 3 deletions

View File

@ -41,9 +41,7 @@ sub getsetup () { #{{{
sub preprocess (@) { #{{{ sub preprocess (@) { #{{{
my %params=@_; my %params=@_;
unless (length $config{cgiurl}) { return "";
error(gettext("[[!comments plugin requires CGI enabled]]"));
}
my $page = $params{page}; my $page = $params{page};
$pagestate{$page}{comments}{comments} = defined $params{closed} $pagestate{$page}{comments}{comments} = defined $params{closed}