]> sipb.mit.edu Git - ikiwiki.git/commitdiff
don't keep the wiki locked while rendering recentchanges
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Sun, 26 Mar 2006 04:32:41 +0000 (04:32 +0000)
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Sun, 26 Mar 2006 04:32:41 +0000 (04:32 +0000)
IkiWiki/CGI.pm

index 45a72bfcb0e57fb04cd1f35caf4792fbf0ee2f59..560377f0e4709d32bc0356b97185a0425ce40729 100644 (file)
@@ -28,6 +28,8 @@ sub page_locked ($$;$) { #{{{
 sub cgi_recentchanges ($) { #{{{
        my $q=shift;
        
 sub cgi_recentchanges ($) { #{{{
        my $q=shift;
        
+       unlockwiki();
+
        my $template=HTML::Template->new(
                filename => "$config{templatedir}/recentchanges.tmpl"
        );
        my $template=HTML::Template->new(
                filename => "$config{templatedir}/recentchanges.tmpl"
        );