Просмотр исходного кода

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

spficklin 12 лет назад
Родитель
Сommit
2dbb0cd05e
1 измененных файлов с 2 добавлено и 2 удалено
  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) {
       if (!$chado_local) {
-        $previous = tripal_core_db_set_active('chado');
+        $previous = tripal_db_set_active('chado');
       }
       }
       $result = db_query($query);
       $result = db_query($query);
       if (!$chado_local) {
       if (!$chado_local) {
-        tripal_core_db_set_active($previous);
+        tripal_db_set_active($previous);
       }
       }
       if (!$result) {
       if (!$result) {
         $error  = pg_last_error();
         $error  = pg_last_error();