/**
  * if NetworkEquipment purged
  *
  * @param NetworkEquipment $net
  * @internal param NetworkEquipment $comp object
  */
 static function purgeNetworkEquipment(NetworkEquipment $net)
 {
     $snmp = new self();
     $snmp->deleteByCriteria(array('items_id' => $net->getField("id"), 'itemtype' => $net->getType()));
     $ipdiscover = new PluginOcsinventoryngIpdiscoverOcslink();
     $ipdiscover->deleteByCriteria(array('items_id' => $net->getField("id"), 'itemtype' => $net->getType()));
 }