소스 검색

it would help if I had the correct table name to delete the collection bundle

Shawna Spoor 7 년 전
부모
커밋
7a21ff001c
1개의 변경된 파일3개의 추가작업 그리고 2개의 파일을 삭제
  1. 3 2
      tripal/includes/TripalEntityCollection.inc

+ 3 - 2
tripal/includes/TripalEntityCollection.inc

@@ -64,11 +64,12 @@ class TripalEntityCollection {
       db_delete('tripal_collection')
         ->condition('collection_id', $this->collection_id)
         ->execute();
+
       // Delete the field groups from the tripal_bundle_collection table.
-      db_delete('tripal_bundle_collection')
+      db_delete('tripal_collection_bundle')
         ->condition('collection_id', $this->collection_id)
         ->execute();
-        
+
       // Remove any files that may have been created
       foreach ($this->downloaders as $class_name => $label) {
         tripal_load_include_downloader_class($class_name);