diff --git a/html/user/db.inc b/html/user/db.inc
index bc6696e6fc..d0f0fb49fe 100644
--- a/html/user/db.inc
+++ b/html/user/db.inc
@@ -5,7 +5,8 @@ function db_init() {
if (!$retval) {
exit();
}
- mysql_select_db("boinc");
+ //mysql_select_db("boinc_barry");
+ mysql_select_db(getenv("BOINC_DB_NAME"));
}
function lookup_user_auth($auth) {
@@ -150,4 +151,15 @@ function show_user($user) {
echo "\n";
}
+function show_team($team) {
+ start_table();
+ row("ID", $team->id);
+ row("founder", $team->userid);
+ row("name", $team->name);
+ row("url", $team->url);
+ row("type", $team->type);
+ row("name_html", $team->name_html);
+ row("description", $team->description);
+}
+
?>