summaryrefslogtreecommitdiff
path: root/IkiWiki/Setup
diff options
context:
space:
mode:
authorJoey Hess <joey@kodama.kitenet.net>2008-07-11 06:07:48 -0400
committerJoey Hess <joey@kodama.kitenet.net>2008-07-11 06:09:34 -0400
commit4e1d7d8ff281777c53805072978d4718b8532863 (patch)
treea901c9933bfd7b014186059ce8d54aab973502a8 /IkiWiki/Setup
parent598a8ce1f7827fa18b288a1aee57967a39fcd36a (diff)
fix use ordering
The recent setup revamp exposed some latent bugs in use/package ordering that caused some symbols to not the exported into the correct scope.
Diffstat (limited to 'IkiWiki/Setup')
-rw-r--r--IkiWiki/Setup/Standard.pm6
1 files changed, 2 insertions, 4 deletions
diff --git a/IkiWiki/Setup/Standard.pm b/IkiWiki/Setup/Standard.pm
index 693c4fe60..f67c3829b 100644
--- a/IkiWiki/Setup/Standard.pm
+++ b/IkiWiki/Setup/Standard.pm
@@ -3,12 +3,10 @@
# Parameters to import should be all the standard ikiwiki config stuff,
# plus an array of wrappers to set up.
+package IkiWiki::Setup::Standard;
+
use warnings;
use strict;
-use IkiWiki::Wrapper;
-use IkiWiki::Render;
-
-package IkiWiki::Setup::Standard;
sub import {
$IkiWiki::Setup::raw_setup=$_[1];