diff options
author | Andrew Dolgov <[email protected]> | 2013-03-22 12:37:42 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2013-03-22 12:37:42 +0400 |
commit | 06b0777fa765126f1efbb50c6cf9905d2a1d3051 (patch) | |
tree | fa51286842292d2e164c40c34a1406e8b83e9b17 /include | |
parent | feb9b2dfc9619f87bfea046c1a35ef4e8cc9597d (diff) |
feeds/view: periodically bump login timestamp
Diffstat (limited to 'include')
-rw-r--r-- | include/functions.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/functions.php b/include/functions.php index 355fcd32b..8804d71d1 100644 --- a/include/functions.php +++ b/include/functions.php @@ -768,6 +768,7 @@ /* bump login timestamp */ db_query($link, "UPDATE ttrss_users SET last_login = NOW() WHERE id = " . $_SESSION["uid"]); + $_SESSION["last_login_update"] = time(); } if ($_SESSION["uid"] && $_SESSION["language"] && SESSION_COOKIE_LIFETIME > 0) { |