diff options
author | Simon McVittie <smcv@ http://smcv.pseudorandom.co.uk/> | 2008-11-23 17:07:28 +0000 |
---|---|---|
committer | Simon McVittie <smcv@ http://smcv.pseudorandom.co.uk/> | 2008-12-11 21:14:04 +0000 |
commit | 4972baac4dde88b52983f10f4fed6117c71d4fad (patch) | |
tree | 9265d10f4185711be172c2d5bb7958097acff966 /IkiWiki | |
parent | 1c1437995cb215c99cd4679eebd811576f020bc8 (diff) | |
download | ikiwiki-4972baac4dde88b52983f10f4fed6117c71d4fad.tar ikiwiki-4972baac4dde88b52983f10f4fed6117c71d4fad.tar.gz |
comments: make preprocess a no-op
Diffstat (limited to 'IkiWiki')
-rw-r--r-- | IkiWiki/Plugin/comments.pm | 4 |
1 files changed, 1 insertions, 3 deletions
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} |