Browse Source

Remove unnecessary call load bundle as found my Bradford.

Lacey Sanderson 6 years ago
parent
commit
6c95fdf2a5

+ 0 - 1
tripal_chado/includes/TripalFields/sbo__relationship/sbo__relationship.inc

@@ -476,7 +476,6 @@ class sbo__relationship extends ChadoField {
     $settings = $this->field['settings'];
 
     $record = $entity->chado_record;
-    $bundle = tripal_load_bundle_entity(array('name' => $entity->bundle));
 
     $field_name = $this->field['field_name'];
     $field_type = $this->field['type'];