Browse Source

Removing setting of search path in core init hook

spficklin 12 years ago
parent
commit
aaa559f4d9
1 changed files with 2 additions and 2 deletions
  1. 2 2
      tripal_core/tripal_core.module

+ 2 - 2
tripal_core/tripal_core.module

@@ -33,7 +33,7 @@ function tripal_core_init() {
   // Drupal database
 //  $previous = tripal_db_set_active('chado');
 //  tripal_db_set_active($previous);
-  tripal_db_set_chado_search_path('chado');
+//  tripal_db_set_chado_search_path('chado');
  
 
   // create the 'tripal' controlled volcabulary in chado but only if it doesn't already exist, and
@@ -46,7 +46,7 @@ function tripal_core_init() {
     }
     if (!db_fetch_object(db_query("SELECT * FROM {db} WHERE name = 'tripal'"))) {
       $results = db_query("INSERT INTO {db} (name,description) ".
-                        "VALUES ('tripal', 'Used as a database placeholder for tripal defined objects such as tripal cvterms')");
+                          "VALUES ('tripal', 'Used as a database placeholder for tripal defined objects such as tripal cvterms')");
     }
     tripal_db_set_active($previous_db);  // now use drupal database
   }