All new accounts created on Gitlab now require administrator approval. If you invite any collaborators, please let Flux staff know so they can approve the accounts.

Commit d2ce75ac authored by Leigh B. Stoller's avatar Leigh B. 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