]> sipb.mit.edu Git - ikiwiki.git/blobdiff - IkiWiki/Plugin/map.pm
remove explicit addition of dependencies for displayed pages
[ikiwiki.git] / IkiWiki / Plugin / map.pm
index 625cfdfcaaa723a80f7c15e155d70d0583d2b9b7..46f11dc8948ea66b63a72e65b2e6d34910b45fc4 100644 (file)
@@ -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="";