diff options
author | Joey Hess <joey@gnu.kitenet.net> | 2009-08-08 12:23:50 -0400 |
---|---|---|
committer | Joey Hess <joey@gnu.kitenet.net> | 2009-08-08 12:23:50 -0400 |
commit | 22edaf77c2a4318ebd8ed0881dd6a62cfc2ca2b2 (patch) | |
tree | 11c14f535a057ed4741461d9fc0dff53e3d9816c | |
parent | 79312b2754571ac80253993217da2b0899086342 (diff) | |
download | ikiwiki-22edaf77c2a4318ebd8ed0881dd6a62cfc2ca2b2.tar ikiwiki-22edaf77c2a4318ebd8ed0881dd6a62cfc2ca2b2.tar.gz |
fix misleading comment
-rw-r--r-- | IkiWiki/Plugin/getsource.pm | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/IkiWiki/Plugin/getsource.pm b/IkiWiki/Plugin/getsource.pm index e8aea2c39..91c4cc1c9 100644 --- a/IkiWiki/Plugin/getsource.pm +++ b/IkiWiki/Plugin/getsource.pm @@ -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}) { |