Parcourir la source

Merge pull request #21 from abretaud/selecterr

Remove unused vars + fix 'operator not supported for strings' error
Stephen Ficklin il y a 8 ans
Parent
commit
a6efcd5600
1 fichiers modifiés avec 0 ajouts et 4 suppressions
  1. 0 4
      tripal_core/api/tripal_core.chado_query.api.inc

+ 0 - 4
tripal_core/api/tripal_core.chado_query.api.inc

@@ -1091,8 +1091,6 @@ function chado_select_record($table, $columns, $values, $options = NULL) {
     return FALSE;
   }
 
-  $select = '';
-  $from = '';
   $where = array();
   $args = array();
 
@@ -1197,8 +1195,6 @@ function chado_select_record($table, $columns, $values, $options = NULL) {
       return array();
     }
 
-    $select[] = $field;
-
     // CASE 1: We have an array for a value.
     if (is_array($value)) {