]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/aggregate.pm
web commit by http://id.inelegant.org/: Admission of stupidity. ;-)
[git.ikiwiki.info.git] / IkiWiki / Plugin / aggregate.pm
index bdbcd536f6ffb381489ab977bd36170c3ea9daf4..f353cb0ca83dd54e71f96ea030058f193bc822d3 100644 (file)
@@ -31,7 +31,7 @@ sub getopt () { #{{{
 } #}}}
 
 sub checkconfig () { #{{{
-       my $nolock=($config{post_commit} && ! commit_hook_enabled());
+       my $nolock=($config{post_commit} && ! IkiWiki::commit_hook_enabled());
        IkiWiki::lockwiki() unless $nolock;
        loadstate();
        if ($config{aggregate} && ! $nolock) {