*** empty log message ***

svn path=/trunk/boinc/; revision=4219
This commit is contained in:
Lana Alber 2004-09-21 20:35:36 +00:00
parent d86464b357
commit a5836d59b5
3 changed files with 8 additions and 28 deletions

View File

@ -17528,3 +17528,11 @@ David 21 Sept 2004
sched/
handle_request.C
sched_send.C
Lana 21 Sept 2004
- fixed opening of the ops page
html/
inc/
db.inc
util.inc

View File

@ -25,16 +25,6 @@ function db_init_aux() {
return 0;
}
function lookup_user_auth($auth) {
$result = mysql_query("select * from user where authenticator='$auth'");
if ($result) {
$user = mysql_fetch_object($result);
mysql_free_result($result);
return $user;
}
return null;
}
function lookup_user_id($id) {
$result = mysql_query("select * from user where id=$id");
if ($result) {

View File

@ -4,24 +4,6 @@ require_once("../project/project.inc");
require_once("../inc/countries.inc");
require_once("../inc/db.inc");
function db_init() {
if (project_is_stopped()) {
echo "Project is shut down for maintenance - please try again later\n";
exit();
}
$retval = db_init_aux();
if ($retval == 1) {
echo "Unable to connect to database - please try again later\n";
echo "Error: ", mysql_errno(), mysql_error();
exit();
}
if ($retval == 2) {
echo "Unable to select database - please try again later";
echo mysql_error();
exit();
}
}
// Sends the authenticator to the given email address
//
function send_auth_email($email_addr, $auth) {