projects
/
ikiwiki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
895da64
)
backlink is just the reverse of link, so..
author
joey
<joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Wed, 2 Aug 2006 02:17:42 +0000
(
02:17
+0000)
committer
joey
<joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Wed, 2 Aug 2006 02:17:42 +0000
(
02:17
+0000)
IkiWiki.pm
patch
|
blob
|
history
diff --git
a/IkiWiki.pm
b/IkiWiki.pm
index 7ef9007ff1636a26d439428baa60eeea58258099..cadbfd67f676114309845ef568783384fa057360 100644
(file)
--- a/
IkiWiki.pm
+++ b/
IkiWiki.pm
@@
-586,14
+586,7
@@
sub match_link ($$) { #{{{
} #}}}
sub match_backlink ($$) { #{{{
- my $page=shift;
- my $linkto=shift;
-
- my $links = $links{$linkto} or return undef;
- foreach my $p (@$links) {
- return 1 if lc $p eq $page;
- }
- return 0;
+ match_link(reverse @_);
} #}}}
sub match_creation_day ($$) { #{{{