aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin/calendar.pm
diff options
context:
space:
mode:
authorJoey Hess <joey@gnu.kitenet.net>2009-10-08 23:51:06 -0400
committerJoey Hess <joey@gnu.kitenet.net>2009-10-08 23:51:06 -0400
commit5e7b2dea84a35163b599b88efc02cd7ef3e0ad46 (patch)
treeb9defe4426804bdfd04a53fe00f3e5abf54c7a81 /IkiWiki/Plugin/calendar.pm
parent955bcea2a7bacb98cb62a38faa78b05e0f430aac (diff)
downloadikiwiki-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.pm2
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"))) {