瀏覽代碼

Removed print for dbxref api that was causing WSOD

Lacey Sanderson 12 年之前
父節點
當前提交
79368506ed
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      tripal_db/tripal_db.api.inc

+ 1 - 1
tripal_db/tripal_db.api.inc

@@ -352,7 +352,7 @@ function tripal_db_add_dbxref($db_id, $accession, $version='', $description='')
       watchdog('tripal_cv', "Failed to insert the dbxref record $accession", NULL, WATCHDOG_WARNING);
       return 0;
     }
-    print "Added Dbxref accession: $accession\n";
+    drupal_set_message("Added Dbxref accession: $accession");
     $dbxref = db_fetch_object(db_query($dbxsql, $db_id, $accession));
   }
   return $dbxref;