From acfcd2498354d80581283dfc77edd0e827f9bdc3 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Wed, 1 Mar 2017 13:36:42 +0100 Subject: [PATCH] fix not updated logout time on new farm --- api/src/Session.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/api/src/Session.php b/api/src/Session.php index f721b34b47..f41a4d69a8 100644 --- a/api/src/Session.php +++ b/api/src/Session.php @@ -1419,8 +1419,9 @@ class Session $GLOBALS['egw']->db->update(self::ACCESS_LOG_TABLE,array( 'session_dla' => time(), 'session_action' => $this->action, + ) + ($this->action === '/logout.php' ? array() : array( 'lo' => null, // just in case it was (automatic) timed out before - ),array( + )),array( 'sessionid' => $this->sessionid_access_log, ),__LINE__,__FILE__); }