summaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin
diff options
context:
space:
mode:
Diffstat (limited to 'IkiWiki/Plugin')
-rw-r--r--IkiWiki/Plugin/aggregate.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/IkiWiki/Plugin/aggregate.pm b/IkiWiki/Plugin/aggregate.pm
index 301fe40f6..e000bc864 100644
--- a/IkiWiki/Plugin/aggregate.pm
+++ b/IkiWiki/Plugin/aggregate.pm
@@ -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);
}
}