fix misleading comment

master
Joey Hess 2009-08-08 12:23:50 -04:00
parent 79312b2754
commit 22edaf77c2
1 changed files with 1 additions and 4 deletions

View File

@ -42,10 +42,6 @@ sub pagetemplate (@) {
sub cgi_getsource ($) { sub cgi_getsource ($) {
my $cgi=shift; my $cgi=shift;
# Note: we use sessioncgi rather than just cgi
# because we need %pagesources to be
# populated.
return unless (defined $cgi->param('do') && return unless (defined $cgi->param('do') &&
$cgi->param("do") eq "getsource"); $cgi->param("do") eq "getsource");
@ -53,6 +49,7 @@ sub cgi_getsource ($) {
my $page=$cgi->param('page'); my $page=$cgi->param('page');
# For %pagesources.
IkiWiki::loadindex(); IkiWiki::loadindex();
if (! exists $pagesources{$page}) { if (! exists $pagesources{$page}) {