Browse Source

Removed module_invoke_all from TripalDataController class

Stephen Ficklin 9 years ago
parent
commit
faf6cde73d
1 changed files with 0 additions and 6 deletions
  1. 0 6
      tripal_entities/includes/TripalDataController.inc

+ 0 - 6
tripal_entities/includes/TripalDataController.inc

@@ -104,9 +104,6 @@ class TripalDataController extends EntityAPIController {
       field_attach_update($entity->entity_type, $entity);
     }
 
-    // Invoke hook_entity_presave().
-    module_invoke_all('entity_presave', $entity, $entity->entity_type);
-
     // Write out the entity record.
     $tablename = 'feature';
     $schema = chado_get_schema($tablename);
@@ -130,9 +127,6 @@ class TripalDataController extends EntityAPIController {
       $entity->id = $record['id'];
     }
 
-    // Invoke either hook_entity_update() or hook_entity_insert().
-//    module_invoke_all($invocation, $entity, $entity->entity_type);
-
     return $entity;
   }
 }