X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/9557c7c8905f08361aabd1215fa3bc19badf9a4f..ef972a871bd61295068d7a105036924699c65540:/IkiWiki/Plugin/comments.pm?ds=inline diff --git a/IkiWiki/Plugin/comments.pm b/IkiWiki/Plugin/comments.pm index c458ea9da..273561cad 100644 --- a/IkiWiki/Plugin/comments.pm +++ b/IkiWiki/Plugin/comments.pm @@ -391,9 +391,6 @@ sub sessioncgi ($$) { #{{{ IkiWiki::check_canedit($page, $cgi, $session); $postcomment=0; - # FIXME: check that the wiki is locked right now, because - # if it's not, there are mad race conditions! - # FIXME: rather a simplistic way to make the comments... my $i = 0; my $file; @@ -403,8 +400,6 @@ sub sessioncgi ($$) { #{{{ $location = "$page/${comments_pagename}${i}"; } while (-e "$config{srcdir}/$location._comment"); - my $anchor = "${comments_pagename}${i}"; - my $content = "[[!_comment format=$type\n"; # FIXME: handling of double quotes probably wrong?