Prechádzať zdrojové kódy

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

Shawna Spoor 7 rokov pred
rodič
commit
7a21ff001c

+ 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);