summaryrefslogtreecommitdiff
path: root/functions.php
diff options
context:
space:
mode:
Diffstat (limited to 'functions.php')
-rw-r--r--functions.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/functions.php b/functions.php
index 3985890b1..c35519109 100644
--- a/functions.php
+++ b/functions.php
@@ -528,6 +528,9 @@
$_SESSION["name"] = db_fetch_result($result, 0, "login");
$_SESSION["access_level"] = db_fetch_result($result, 0, "access_level");
+ db_query($link, "UPDATE ttrss_users SET last_login = NOW() WHERE id = " .
+ $_SESSION["uid"]);
+
return true;
}