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