diff options
author | Joey Hess <joey@gnu.kitenet.net> | 2009-10-07 21:57:31 -0400 |
---|---|---|
committer | Joey Hess <joey@gnu.kitenet.net> | 2009-10-07 21:57:31 -0400 |
commit | 957ded9d64ca6abf0127c5c49e24177685bac5ae (patch) | |
tree | a2cf7e5ab72debdb2d6e078ed59e943c32c6321e /IkiWiki/Plugin/calendar.pm | |
parent | 5f9860e65c65aa769f11e550e63cc164b1519710 (diff) | |
download | ikiwiki-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.pm | 5 |
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; } |