Browse Source

Issue #72: Updating API to include 2.1 improvements: cee9402

Stephen Ficklin 7 years ago
parent
commit
9f86620af2
2 changed files with 2 additions and 2 deletions
  1. 1 1
      legacy/tripal_cv/tripal_cv.module
  2. 1 1
      tripal_chado/api/tripal_chado.query.api.inc

+ 1 - 1
legacy/tripal_cv/tripal_cv.module

@@ -115,7 +115,7 @@ function tripal_cv_menu() {
     'type' => MENU_CALLBACK,
   );
   $items['admin/tripal/legacy/vocab/cvterm/auto_name/%/%'] = array(
-    'page callback' => 'tripal_cv_cvterm_name_autocomplete',
+    'page callback' => 'tripal_autocomplete_cvterm',
     'page arguments' => array(6, 7),
     'access arguments' => array('administer controlled vocabularies'),
     'type' => MENU_CALLBACK,

+ 1 - 1
tripal_chado/api/tripal_chado.query.api.inc

@@ -1674,7 +1674,7 @@ function chado_query($sql, $args = array()) {
   // if Chado is not local to the Drupal database then we have to
   // switch to another database
   else {
-    $previous_db = chado_set_active('chado') ;
+    $previous_db = chado_set_active('chado');
     $results = db_query($sql, $args);
     chado_set_active($previous_db);
   }