summaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin
diff options
context:
space:
mode:
authorJoey Hess <joey@gnu.kitenet.net>2009-10-06 18:41:09 -0400
committerJoey Hess <joey@gnu.kitenet.net>2009-10-06 18:41:09 -0400
commit15fd89d64deaeeee921a02b240d5036bbd896f89 (patch)
tree063cd28cb19b37d25f2c1cacc622e3182e00e769 /IkiWiki/Plugin
parent348a6aaee3c13e0afababc4b9bb41743d7227f12 (diff)
presence dependencies not needed
Using just a link dependency is sufficient, since
Diffstat (limited to 'IkiWiki/Plugin')
-rw-r--r--IkiWiki/Plugin/linkmap.pm5
1 files 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 <object> tags (with good reason!)