summaryrefslogtreecommitdiff
path: root/IkiWiki
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-03-26 04:32:41 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-03-26 04:32:41 +0000
commitda1f96550e15f6b02156cd0f77df9a6bc6a6b079 (patch)
tree4479e5dc5bcdea4664edc638a122bf4548971e28 /IkiWiki
parent7b8a14b7517a9a26b6842adf1f88c5d869e913cc (diff)
don't keep the wiki locked while rendering recentchanges
Diffstat (limited to 'IkiWiki')
-rw-r--r--IkiWiki/CGI.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/IkiWiki/CGI.pm b/IkiWiki/CGI.pm
index 45a72bfcb..560377f0e 100644
--- a/IkiWiki/CGI.pm
+++ b/IkiWiki/CGI.pm
@@ -28,6 +28,8 @@ sub page_locked ($$;$) { #{{{
sub cgi_recentchanges ($) { #{{{
my $q=shift;
+ unlockwiki();
+
my $template=HTML::Template->new(
filename => "$config{templatedir}/recentchanges.tmpl"
);