summaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin/map.pm
diff options
context:
space:
mode:
authorJoey Hess <joey@gnu.kitenet.net>2009-10-07 21:57:31 -0400
committerJoey Hess <joey@gnu.kitenet.net>2009-10-07 21:57:31 -0400
commit957ded9d64ca6abf0127c5c49e24177685bac5ae (patch)
treea2cf7e5ab72debdb2d6e078ed59e943c32c6321e /IkiWiki/Plugin/map.pm
parent5f9860e65c65aa769f11e550e63cc164b1519710 (diff)
remove explicit addition of dependencies for displayed pages
that hack is not needed, thanks to pagespec influences calculation
Diffstat (limited to 'IkiWiki/Plugin/map.pm')
-rw-r--r--IkiWiki/Plugin/map.pm5
1 files changed, 0 insertions, 5 deletions
diff --git a/IkiWiki/Plugin/map.pm b/IkiWiki/Plugin/map.pm
index 625cfdfca..46f11dc89 100644
--- a/IkiWiki/Plugin/map.pm
+++ b/IkiWiki/Plugin/map.pm
@@ -71,11 +71,6 @@ sub preprocess (@) {
# cases, when its content changes, if show= is specified), so
# register a dependency.
add_depends($params{page}, $params{pages}, presence => ! exists $params{show});
- # Explicitly add all currently shown pages, to detect when pages
- # are removed.
- foreach my $item (keys %mapitems) {
- add_depends($params{page}, $item, presence => ! exists $params{show});
- }
# Create the map.
my $parent="";