img: remove special case handling of link=yes

Only exists as an undocumented backwards compatability hack.
master
Joey Hess 2010-01-07 15:41:16 -05:00
parent 253b1a41c1
commit e31cb975a7
1 changed files with 1 additions and 1 deletions

View File

@ -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+:\/\//) {