]> sipb.mit.edu Git - ikiwiki.git/blobdiff - IkiWiki/Plugin/calendar.pm
remove explicit addition of dependencies for displayed pages
[ikiwiki.git] / IkiWiki / Plugin / calendar.pm
index a1117992a865ed3a5cd5a7a8ded409d3b8ace33e..ec8e232e16e7b5775ce12733890b73373f8759e6 100644 (file)
@@ -213,11 +213,6 @@ EOF
        # Add dependencies to update the calendar whenever pages
        # matching the pagespec are added or removed.
        add_depends($params{page}, $params{pages}, presence => 1);
-       # Explicitly add all currently linked pages as dependencies, so
-       # that if they are removed, the calendar will be sure to be updated.
-       foreach my $p (@list) {
-               add_depends($params{page}, $p, presence => 1);
-       }
 
        return $calendar;
 }