Commit d2ce75ac authored by Leigh Stoller's avatar Leigh Stoller

Kill some obsolete code.

parent 846a98d6
......@@ -577,15 +577,6 @@ sub AddInterface($$$$;$$)
$interface->Destroy();
return undef;
}
if ($self->type() eq "vlan" && !$initialize) {
my $nodeiface = $node->node_id() . ":" . $iface;
my $vlanid = $self->lanid();
DBQueryWarn("update vlans set ".
" members=CONCAT_WS(' ', members, '$nodeiface') ".
"where id='$vlanid'");
}
return $interface;
}
......@@ -619,15 +610,6 @@ sub AddMember($$;$)
$member->Destroy();
return undef;
}
# Keep vlans table in sync.
if ($self->type() eq "vlan" && !$initialize) {
my $member = $node->node_id() . ":" . $iface;
my $vlanid = $self->lanid();
DBQueryWarn("update vlans set ".
" members=CONCAT_WS(' ', members, '$member') ".
"where id='$vlanid'");
}
return $member;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment