From 15fd89d64deaeeee921a02b240d5036bbd896f89 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Tue, 6 Oct 2009 18:41:09 -0400 Subject: [PATCH] presence dependencies not needed Using just a link dependency is sufficient, since --- IkiWiki/Plugin/linkmap.pm | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/IkiWiki/Plugin/linkmap.pm b/IkiWiki/Plugin/linkmap.pm index d7ba68da9..b8b4cf40d 100644 --- a/IkiWiki/Plugin/linkmap.pm +++ b/IkiWiki/Plugin/linkmap.pm @@ -28,9 +28,8 @@ sub preprocess (@) { $params{pages}="*" unless defined $params{pages}; - # Needs to update whenever a relevant page is added, or removed, or - # its links change. - add_depends($params{page}, $params{pages}, presence => 1, links => 1); + # Needs to update whenever a relevant page's links change. + add_depends($params{page}, $params{pages}, links => 1); # Can't just return the linkmap here, since the htmlscrubber # scrubs out all tags (with good reason!)