]> sipb.mit.edu Git - ikiwiki.git/commitdiff
forgot to add this
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Sun, 30 Jul 2006 01:38:50 +0000 (01:38 +0000)
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Sun, 30 Jul 2006 01:38:50 +0000 (01:38 +0000)
IkiWiki.pm

index 54ca845501d0396e1893b70ed61e0b98da6a75db..c0b26e43fb33e77da03b36081effc1090de854bf 100644 (file)
@@ -395,6 +395,8 @@ sub loadindex () { #{{{
 } #}}}
 
 sub saveindex () { #{{{
+       run_hooks(savestate => sub { shift->() });
+
        if (! -d $config{wikistatedir}) {
                mkdir($config{wikistatedir});
        }