remove useless code
This commit is contained in:
parent
3c731a9079
commit
5af2150a30
|
@ -899,9 +899,6 @@ sub map_instance {
|
||||||
$results->{$name} = $options{results}->{$entry};
|
$results->{$name} = $options{results}->{$entry};
|
||||||
} elsif (defined($options{results}->{$options{mapping}->{$name}->{oid}}->{$entry})) {
|
} elsif (defined($options{results}->{$options{mapping}->{$name}->{oid}}->{$entry})) {
|
||||||
$results->{$name} = $options{results}->{$options{mapping}->{$name}->{oid}}->{$entry};
|
$results->{$name} = $options{results}->{$options{mapping}->{$name}->{oid}}->{$entry};
|
||||||
} elsif (defined($options{mapping}->{$name}->{location}) &&
|
|
||||||
defined($options{results}->{$options{mapping}->{$name}->{location}}->{$entry})) {
|
|
||||||
$results->{$name} = $options{results}->{$options{mapping}->{$name}->{location}}->{$entry};
|
|
||||||
} else {
|
} else {
|
||||||
$results->{$name} = defined($options{default}) ? $options{default} : undef;
|
$results->{$name} = defined($options{default}) ? $options{default} : undef;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue