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 (@) { #{{{
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}