aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-07-30 01:38:50 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-07-30 01:38:50 +0000
commit7bb447675fced4861eeec9e687935b9eedf98033 (patch)
treefb6bc055b801ce7ec3ea7fd75c3244c84d5d1263
parentab75c0323bc584203a2b4a507c2a2012523354d0 (diff)
downloadikiwiki-7bb447675fced4861eeec9e687935b9eedf98033.tar
ikiwiki-7bb447675fced4861eeec9e687935b9eedf98033.tar.gz
forgot to add this
-rw-r--r--IkiWiki.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/IkiWiki.pm b/IkiWiki.pm
index 54ca84550..c0b26e43f 100644
--- a/IkiWiki.pm
+++ b/IkiWiki.pm
@@ -395,6 +395,8 @@ sub loadindex () { #{{{
} #}}}
sub saveindex () { #{{{
+ run_hooks(savestate => sub { shift->() });
+
if (! -d $config{wikistatedir}) {
mkdir($config{wikistatedir});
}