浏览代码

Fixed a bug for cleaning orphan nodes during migration

Chun-Huai Cheng 7 年之前
父节点
当前提交
3b254e81a1
共有 1 个文件被更改,包括 1 次插入1 次删除
  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);
   }
 }