Browse Source

Oops left in debugging code

spficklin 12 years ago
parent
commit
feb56cc3c2
1 changed files with 6 additions and 6 deletions
  1. 6 6
      tripal_core/api/tripal_core.api.inc

+ 6 - 6
tripal_core/api/tripal_core.api.inc

@@ -146,8 +146,8 @@ function tripal_core_chado_insert($table, $values, $options = array()) {
     $connection = tripal_db_persistent_chado();
   }
   else {
-     print "NO STATEMENT (insert): $table\n";
-     debug_print_backtrace();
+     //print "NO STATEMENT (insert): $table\n";
+     //debug_print_backtrace();
   }
 
   if (array_key_exists('skip_validation', $options)) {
@@ -420,8 +420,8 @@ function tripal_core_chado_update($table, $match, $values, $options = NULL) {
     $connection = tripal_db_persistent_chado();
   }
   else {
-     print "NO STATEMENT (update): $table\n";
-     debug_print_backtrace();
+     //print "NO STATEMENT (update): $table\n";
+     //debug_print_backtrace();
   }
 
   // get the table description
@@ -906,8 +906,8 @@ function tripal_core_chado_select($table, $columns, $values, $options = NULL) {
     $connection = tripal_db_persistent_chado();
   } 
   else {
-     print "NO STATEMENT (select): $table\n";
-     debug_print_backtrace();
+     //print "NO STATEMENT (select): $table\n";
+     //debug_print_backtrace();
   }
 
   // check that our columns and values arguments are proper arrays