]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/toc.pm
* Initial work on internationalization of the program code. po/ikiwiki.pot
[git.ikiwiki.info.git] / IkiWiki / Plugin / toc.pm
index 063e66f3babafaa674bcd9a3d5ef472dfd2e4f20..279eef00837a66c901056096c89af1c1180e6a42 100644 (file)
@@ -8,10 +8,8 @@ use IkiWiki;
 use HTML::Parser;
 
 sub import { #{{{
-       IkiWiki::hook(type => "preprocess", id => "toc",
-               call => \&preprocess);
-       IkiWiki::hook(type => "format", id => "toc",
-               call => \&format);
+       hook(type => "preprocess", id => "toc", call => \&preprocess);
+       hook(type => "format", id => "toc", call => \&format);
 } # }}}
 
 my %tocpages;