Browse Source

Removed print for dbxref api that was causing WSOD

Lacey Sanderson 12 years ago
parent
commit
79368506ed
1 changed files with 1 additions and 1 deletions
  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;