function unassignVlan($portID, $vlanID) { $this->getFromDBByQuery("WHERE `ipnetworks_id` = '{$portID}'\n AND `vlans_id` = '{$vlanID}'"); return $this->delete($this->fields); }