diff options
author | Andrew Dolgov <[email protected]> | 2005-11-18 10:18:19 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2005-11-18 10:18:19 +0100 |
commit | f6f321982f844c92488edf5420025b4381e53f50 (patch) | |
tree | 789a59a92ba55e3ad30e16ae75b3472f77f6b6f2 /functions.php | |
parent | f16ef23677ce4c58fecc7428d7345f0d19275f1c (diff) |
handle last_login in editor/login sequence
Diffstat (limited to 'functions.php')
-rw-r--r-- | functions.php | 3 |
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; } |