]> sipb.mit.edu Git - ikiwiki.git/commitdiff
fixes
authorJoey Hess <joey@kodama.kitenet.net>
Tue, 15 Jul 2008 03:00:29 +0000 (23:00 -0400)
committerJoey Hess <joey@kodama.kitenet.net>
Tue, 15 Jul 2008 03:00:29 +0000 (23:00 -0400)
IkiWiki/Plugin/aggregate.pm

index 301fe40f6dcb96ba15cc396ee823ea5509ac7378..e000bc8648a39f33cea5aef932286255f343f4a2 100644 (file)
@@ -157,9 +157,9 @@ sub migrate_to_internal { #{{{
                        debug("$oldname not found");
                }
                if (-e $oldoutput) {
-                       use IkiWiki::Render;
+                       require IkiWiki::Render;
                        debug("removing output file $oldoutput");
-                       IkiWIki::prune($oldoutput) || error ("$!");
+                       IkiWiki::prune($oldoutput);
                }
        }