]> sipb.mit.edu Git - ikiwiki.git/commitdiff
fix misleading comment
authorJoey Hess <joey@gnu.kitenet.net>
Sat, 8 Aug 2009 16:23:50 +0000 (12:23 -0400)
committerJoey Hess <joey@gnu.kitenet.net>
Sat, 8 Aug 2009 16:23:50 +0000 (12:23 -0400)
IkiWiki/Plugin/getsource.pm

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