diff options
author | Joey Hess <joey@gnu.kitenet.net> | 2009-10-08 23:51:06 -0400 |
---|---|---|
committer | Joey Hess <joey@gnu.kitenet.net> | 2009-10-08 23:51:06 -0400 |
commit | 5e7b2dea84a35163b599b88efc02cd7ef3e0ad46 (patch) | |
tree | b9defe4426804bdfd04a53fe00f3e5abf54c7a81 /IkiWiki/Plugin/postsparkline.pm | |
parent | 955bcea2a7bacb98cb62a38faa78b05e0f430aac (diff) | |
download | ikiwiki-5e7b2dea84a35163b599b88efc02cd7ef3e0ad46.tar ikiwiki-5e7b2dea84a35163b599b88efc02cd7ef3e0ad46.tar.gz |
rename use_pagespec to pagespec_match_list
To avoid breaking plugins, also support the old pagespec_match_list
calling convention, with a deprecation warning.
Diffstat (limited to 'IkiWiki/Plugin/postsparkline.pm')
-rw-r--r-- | IkiWiki/Plugin/postsparkline.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki/Plugin/postsparkline.pm b/IkiWiki/Plugin/postsparkline.pm index f51e309c8..1d4532366 100644 --- a/IkiWiki/Plugin/postsparkline.pm +++ b/IkiWiki/Plugin/postsparkline.pm @@ -54,7 +54,7 @@ sub preprocess (@) { } my @list=sort { $params{timehash}->{$b} <=> $params{timehash}->{$a} } - use_pagespec($params{page}, $params{pages}, + pagespec_match_list($params{page}, $params{pages}, deptype => $deptype, limit => sub { $_[0] ne $params{page} }, ); |