sub pagespec_match ($@) {
# convert return object into a XML RPC boolean
my $plugin=shift;
+ my $page=shift;
+ my $spec=shift;
- return RPC::XML::boolean->new(0 + IkiWiki::pagespec_match(@_));
-}
-
-sub pagespec_match_list ($@) {
- # convert return object into a XML RPC boolean
- my $plugin=shift;
-
- return RPC::XML::boolean->new(0 + IkiWiki::pagespec_match_list(@_));
+ return RPC::XML::boolean->new(0 + IkiWiki::pagespec_match(
+ $page, $spec, @_));
}
1