comments: make preprocess a no-op
parent
1c1437995c
commit
4972baac4d
|
@ -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}
|
||||
|
|
Loading…
Reference in New Issue