mirror of
https://github.com/webmin/webmin.git
synced 2026-05-21 14:00:31 +01:00
Fix to drop obsolete code
This commit is contained in:
@@ -13124,16 +13124,10 @@ if ($redir_host) {
|
||||
}
|
||||
}
|
||||
%redirect = %redirects if (keys %redirects);
|
||||
my %original_redirect = %redirect;
|
||||
%redirect = %{$redirect{'redir'}};
|
||||
if ($original_redirect{'error'}) {
|
||||
$redirect{'error'} = $original_redirect{'error'};
|
||||
}
|
||||
else {
|
||||
@hops = grep { $_->{'redir'} } @hops;
|
||||
$redirect{'hops'} = \@hops
|
||||
if (@hops);
|
||||
}
|
||||
@hops = grep { $_->{'redir'} } @hops;
|
||||
$redirect{'hops'} = \@hops
|
||||
if (@hops);
|
||||
return \%redirect;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user