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