summaryrefslogtreecommitdiff
path: root/functions.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2010-09-13 16:00:05 +0400
committerAndrew Dolgov <[email protected]>2010-09-13 16:00:05 +0400
commit91c5f22946ab93d1eaf1bccc2f0c5c3dece6bc43 (patch)
treeab5a768709f21218a4e5a0e0f0c5b429e8302ba6 /functions.php
parent63def06ca88cacdfc0688d450a22ff17f499ef88 (diff)
skip new version checking right after login to speed up startup
Diffstat (limited to 'functions.php')
-rw-r--r--functions.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/functions.php b/functions.php
index e7d95c152..115bdfebd 100644
--- a/functions.php
+++ b/functions.php
@@ -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"]);