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/inline.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/inline.pm')
-rw-r--r-- | IkiWiki/Plugin/inline.pm | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/IkiWiki/Plugin/inline.pm b/IkiWiki/Plugin/inline.pm index cebd9037c..fc4e00a83 100644 --- a/IkiWiki/Plugin/inline.pm +++ b/IkiWiki/Plugin/inline.pm @@ -247,12 +247,6 @@ sub preprocess_inline (@) { @list=@list[0..$params{show} - 1]; } - # Explicitly add all currently displayed pages as dependencies, so - # that if they are removed, the inline will be sure to be updated. - foreach my $p ($#list >= $#feedlist ? @list : @feedlist) { - add_depends($params{page}, $p, presence => $quick); - } - if ($feeds && exists $params{feedpages}) { @feedlist=pagespec_match_list(\@feedlist, $params{feedpages}, location => $params{page}); } |