aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki
diff options
context:
space:
mode:
authorJoey Hess <joey@gnu.kitenet.net>2010-01-07 15:41:16 -0500
committerJoey Hess <joey@gnu.kitenet.net>2010-01-07 15:41:16 -0500
commite31cb975a70c43f22b2fff5d11a7ee64820c8115 (patch)
tree89884b43a345b934dc7651cf241834d303b3c2d0 /IkiWiki
parent253b1a41c1fec81e536840decfc9ea1645a41782 (diff)
downloadikiwiki-e31cb975a70c43f22b2fff5d11a7ee64820c8115.tar
ikiwiki-e31cb975a70c43f22b2fff5d11a7ee64820c8115.tar.gz
img: remove special case handling of link=yes
Only exists as an undocumented backwards compatability hack.
Diffstat (limited to 'IkiWiki')
-rw-r--r--IkiWiki/Plugin/img.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki/Plugin/img.pm b/IkiWiki/Plugin/img.pm
index 845a4bf36..083061bf6 100644
--- a/IkiWiki/Plugin/img.pm
+++ b/IkiWiki/Plugin/img.pm
@@ -162,7 +162,7 @@ sub preprocess (@) {
my $alignclass=exists $params{align} ? "align-$params{align}" : "";
my $link;
- if (! defined $params{link} || lc($params{link}) eq 'yes') {
+ if (! defined $params{link}) {
$link=$fileurl;
}
elsif ($params{link} =~ /^\w+:\/\//) {