aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin/calendar.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/calendar.pm
parent5f9860e65c65aa769f11e550e63cc164b1519710 (diff)
downloadikiwiki-957ded9d64ca6abf0127c5c49e24177685bac5ae.tar
ikiwiki-957ded9d64ca6abf0127c5c49e24177685bac5ae.tar.gz
remove explicit addition of dependencies for displayed pages
that hack is not needed, thanks to pagespec influences calculation
Diffstat (limited to 'IkiWiki/Plugin/calendar.pm')
-rw-r--r--IkiWiki/Plugin/calendar.pm5
1 files changed, 0 insertions, 5 deletions
diff --git a/IkiWiki/Plugin/calendar.pm b/IkiWiki/Plugin/calendar.pm
index a1117992a..ec8e232e1 100644
--- a/IkiWiki/Plugin/calendar.pm
+++ b/IkiWiki/Plugin/calendar.pm
@@ -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;
}