Browse Source

Fixed installer so it should work with a chado schema within Drupal database or separate

spficklin 12 years ago
parent
commit
2dbb0cd05e
1 changed files with 2 additions and 2 deletions
  1. 2 2
      tripal_core/includes/chado_install.php

+ 2 - 2
tripal_core/includes/chado_install.php

@@ -351,11 +351,11 @@ function tripal_core_install_sql($sql_file) {
       }
       
       if (!$chado_local) {
-        $previous = tripal_core_db_set_active('chado');
+        $previous = tripal_db_set_active('chado');
       }
       $result = db_query($query);
       if (!$chado_local) {
-        tripal_core_db_set_active($previous);
+        tripal_db_set_active($previous);
       }
       if (!$result) {
         $error  = pg_last_error();