소스 검색

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