img: remove special case handling of link=yes
Only exists as an undocumented backwards compatability hack.master
parent
253b1a41c1
commit
e31cb975a7
|
@ -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+:\/\//) {
|
||||
|
|
Loading…
Reference in New Issue