skip new version checking right after login to speed up startup
This commit is contained in:
parent
63def06ca8
commit
91c5f22946
|
@ -1851,6 +1851,8 @@
|
||||||
$_SESSION["ip_address"] = $_SERVER["REMOTE_ADDR"];
|
$_SESSION["ip_address"] = $_SERVER["REMOTE_ADDR"];
|
||||||
$_SESSION["pwd_hash"] = db_fetch_result($result, 0, "pwd_hash");
|
$_SESSION["pwd_hash"] = db_fetch_result($result, 0, "pwd_hash");
|
||||||
|
|
||||||
|
$_SESSION["last_version_check"] = time();
|
||||||
|
|
||||||
initialize_user_prefs($link, $_SESSION["uid"]);
|
initialize_user_prefs($link, $_SESSION["uid"]);
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Reference in New Issue