aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki.pm
diff options
context:
space:
mode:
authorSimon McVittie <smcv@ http://smcv.pseudorandom.co.uk/>2009-07-25 20:04:04 +0100
committerSimon McVittie <smcv@ http://smcv.pseudorandom.co.uk/>2009-08-25 00:31:40 +0100
commit1ea8580a5f912c305f8ea89431b39033522c657e (patch)
tree4a16878cabe1033e7431cc5b93947bdd39333a8b /IkiWiki.pm
parentbc6e50a075b164100d3144a13633647613a3dc8e (diff)
downloadikiwiki-1ea8580a5f912c305f8ea89431b39033522c657e.tar
ikiwiki-1ea8580a5f912c305f8ea89431b39033522c657e.tar.gz
Remove now-unused function pagespec_merge
Now that dependencies are a list of pagespecs with an implicit "or" operation, there's no need to try to merge pagespecs under normal use. ikiwiki-transition contains the only use of the function, so move it there rather than deleting it entirely (it's used to concatenate all admins' lists of locked pages).
Diffstat (limited to 'IkiWiki.pm')
-rw-r--r--IkiWiki.pm8
1 files changed, 0 insertions, 8 deletions
diff --git a/IkiWiki.pm b/IkiWiki.pm
index 8a8695768..06a0b7a2c 100644
--- a/IkiWiki.pm
+++ b/IkiWiki.pm
@@ -1833,14 +1833,6 @@ sub add_link ($$) {
unless grep { $_ eq $link } @{$links{$page}};
}
-sub pagespec_merge ($$) {
- my $a=shift;
- my $b=shift;
-
- return $a if $a eq $b;
- return "($a) or ($b)";
-}
-
sub pagespec_translate ($) {
my $spec=shift;