master
joey 2007-03-08 11:13:16 +00:00
parent 66a65b5ddd
commit 5b796b0bdb
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ sub getopt () { #{{{
} #}}} } #}}}
sub checkconfig () { #{{{ sub checkconfig () { #{{{
my $nolock=($config{post_commit} && ! commit_hook_enabled()); my $nolock=($config{post_commit} && ! IkiWiki::commit_hook_enabled());
IkiWiki::lockwiki() unless $nolock; IkiWiki::lockwiki() unless $nolock;
loadstate(); loadstate();
if ($config{aggregate} && ! $nolock) { if ($config{aggregate} && ! $nolock) {