From 06b0777fa765126f1efbb50c6cf9905d2a1d3051 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 22 Mar 2013 12:37:42 +0400 Subject: feeds/view: periodically bump login timestamp --- include/functions.php | 1 + 1 file changed, 1 insertion(+) (limited to 'include/functions.php') 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) { -- cgit v1.2.3