From 03ab2623194009bf3cb82747c59dbf565b89e7bf Mon Sep 17 00:00:00 2001 From: intrigeri Date: Tue, 27 Jan 2009 00:00:00 +0100 Subject: revert renamepage's hook original name Signed-off-by: intrigeri --- IkiWiki/Plugin/link.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'IkiWiki/Plugin/link.pm') diff --git a/IkiWiki/Plugin/link.pm b/IkiWiki/Plugin/link.pm index 48691d973..b79273f96 100644 --- a/IkiWiki/Plugin/link.pm +++ b/IkiWiki/Plugin/link.pm @@ -12,7 +12,7 @@ sub import { hook(type => "checkconfig", id => "link", call => \&checkconfig); hook(type => "linkify", id => "link", call => \&linkify); hook(type => "scan", id => "link", call => \&scan); - hook(type => "renamelink", id => "link", call => \&renamelink); + hook(type => "renamepage", id => "link", call => \&renamepage); } sub getsetup () { @@ -90,7 +90,7 @@ sub scan (@) { } } -sub renamelink (@) { +sub renamepage (@) { my %params=@_; my $page=$params{page}; my $old=$params{oldpage}; -- cgit v1.2.3