]> sipb.mit.edu Git - ikiwiki.git/commitdiff
add 2 more missing getsetup hooks
authorJoey Hess <joey@kitenet.net>
Wed, 14 Jul 2010 18:44:40 +0000 (14:44 -0400)
committerJoey Hess <joey@kitenet.net>
Wed, 14 Jul 2010 18:44:40 +0000 (14:44 -0400)
IkiWiki/Plugin/goto.pm
IkiWiki/Plugin/parentlinks.pm

index 669211691028b90f748f0d1489e0380a7d97b253..42d2425ca2a0dbe85b172fee06eb63ec50b07d00 100644 (file)
@@ -7,6 +7,7 @@ use IkiWiki 3.00;
 
 sub import {
        hook(type => "cgi", id => 'goto',  call => \&cgi);
+       hook(type => "getsetup", id => 'goto',  call => \&getsetup);
 }
 
 sub getsetup () {
index 432613ddfe92ff1b25d2069db246e49ed72a2222..bbd2c5752f58ac4aa94dc932ac4345a5226266a7 100644 (file)
@@ -9,6 +9,7 @@ use IkiWiki 3.00;
 sub import {
        hook(type => "parentlinks", id => "parentlinks", call => \&parentlinks);
        hook(type => "pagetemplate", id => "parentlinks", call => \&pagetemplate);
+       hook(type => "getsetup", id => "parentlinks", call => \&getsetup);
 }
 
 sub getsetup () {