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/calendar.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/calendar.pm')
-rw-r--r-- | IkiWiki/Plugin/calendar.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki/Plugin/calendar.pm b/IkiWiki/Plugin/calendar.pm index a89175cfb..c50d038df 100644 --- a/IkiWiki/Plugin/calendar.pm +++ b/IkiWiki/Plugin/calendar.pm @@ -74,7 +74,7 @@ sub format_month (@) { my $nyear = $params{nyear}; my %linkcache; - foreach my $p (use_pagespec($params{page}, $params{pagespec}, + foreach my $p (pagespec_match_list($params{page}, $params{pagespec}, # add presence dependencies to update # month calendar when pages are added/removed deptype => deptype("presence"))) { |