|
@@ -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();
|