Commit bd6034bb authored by Leigh B. Stoller's avatar Leigh B. Stoller
Browse files

Nuts, back out wrong commit. Must have had the mouse over the wrong

file when I clicked.
parent 4189b509
......@@ -383,10 +383,10 @@ function DOLOGIN($uid, $password, $adminmode) {
#
# Usage stats.
#
DBQueryFatal("update user_stats set ".
" weblogin_count=weblogin_count+1, ".
" weblogin_last=now() ".
"where uid='$uid'");
# DBQueryFatal("update user_stats set ".
# " weblogin_count=weblogin_count+1, ".
# " weblogin_last=now() ".
# "where uid='$uid'");
#
# Issue the cookie requests so that subsequent pages come back
......@@ -509,7 +509,7 @@ function LASTWEBLOGIN($uid) {
global $TBDBNAME;
$query_result =
DBQueryFatal("SELECT weblogin_last from user_stats where uid='$uid'");
DBQueryFatal("SELECT time from lastlogin where uid='$uid'");
if (mysql_num_rows($query_result)) {
$lastrow = mysql_fetch_array($query_result);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment