Browse Source

Fixed a bug for cleaning orphan nodes during migration

Chun-Huai Cheng 7 years ago
parent
commit
3b254e81a1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tripal_chado/includes/tripal_chado.migrate.inc

+ 1 - 1
tripal_chado/includes/tripal_chado.migrate.inc

@@ -770,7 +770,7 @@ function tripal_chado_delete_selected_types($tv2_content_types = array(), $job_i
   foreach ($tv2_content_types AS $type) {
     $sql = "DELETE FROM $type";
     db_query($sql);
-    chado_cleanup_orphaned_nodes(str_replace('chado_', '', $type), $job_id);
+    chado_cleanup_orphaned_nodes(str_replace('chado_', '', $type), 25000, NULL, NULL, $job_id);
   }
 }