]> sipb.mit.edu Git - ikiwiki.git/blobdiff - IkiWiki/Plugin/aggregate.pm
bugnum
[ikiwiki.git] / IkiWiki / Plugin / aggregate.pm
index 6c9958df8c862249b1c663906e1ac06406f7fd17..4bc919526f3c74de2be20b54e7ffa795186e2273 100644 (file)
@@ -35,14 +35,14 @@ sub getopt () { #{{{
 } #}}}
 
 sub checkconfig () { #{{{
+       IkiWiki::lockwiki();
+       loadstate();
        if ($IkiWiki::config{aggregate}) {
-               IkiWiki::lockwiki();
-               loadstate();
                IkiWiki::loadindex();
                aggregate();
                savestate();
-               IkiWiki::unlockwiki();
        }
+       IkiWiki::unlockwiki();
 } #}}}
 
 sub filter (@) { #{{{
@@ -323,7 +323,7 @@ sub htmlabs ($$) { #{{{
        # Convert links in html from relative to absolute.
        # Note that this is a heuristic, which is not specified by the rss
        # spec and may not be right for all feeds. Also, see Debian
-       # bug #XXXX TODO: get bug.
+       # bug #381359.
        my $html=shift;
        my $urlbase=shift;