skip new version checking right after login to speed up startup

This commit is contained in:
Andrew Dolgov 2010-09-13 16:00:05 +04:00
parent 63def06ca8
commit 91c5f22946
1 changed files with 2 additions and 0 deletions

View File

@ -1850,6 +1850,8 @@
$_SESSION["ip_address"] = $_SERVER["REMOTE_ADDR"];
$_SESSION["pwd_hash"] = db_fetch_result($result, 0, "pwd_hash");
$_SESSION["last_version_check"] = time();
initialize_user_prefs($link, $_SESSION["uid"]);