blah
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Sun, 12 Mar 2006 03:41:58 +0000 (03:41 +0000)
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Sun, 12 Mar 2006 03:41:58 +0000 (03:41 +0000)
ikiwiki

diff --git a/ikiwiki b/ikiwiki
index cfc963c120df53c0ec680bbe0fe51dfb0531eb5e..6a1eb0e297c6427db0d1bda18766fd310fd65708 100755 (executable)
--- a/ikiwiki
+++ b/ikiwiki
@@ -669,7 +669,7 @@ sub cgi_recentchanges () { #{{{
                wikiname => $wikiname,
                changelog => [rcs_recentchanges(100)],
        );
-       return $template->output;
+       print $template->output;
 } #}}}
 
 sub cgi_signin ($$) { #{{{
@@ -940,8 +940,6 @@ usage() unless @ARGV == 3;
 ($templatedir) = possibly_foolish_untaint(shift);
 ($destdir) = possibly_foolish_untaint(shift);
 
-print cgi_recentchanges();
-
 if ($cgi && ! length $url) {
        error("Must specify url to wiki with --url when using --cgi");
 }