function OnEntityDelete($entity_id) { $obUserField = new CUserTypeEntity; return $obUserField->DropEntity($entity_id); }