From 8f6df975fe5f5a2a1fc487623a595ecd4f7f32c8 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Tue, 29 Oct 2019 13:20:23 +0100 Subject: [PATCH] also remove /api/thumbnail.php from access-log updates --- api/src/Session.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/src/Session.php b/api/src/Session.php index 7e825eb609..51cbe84429 100644 --- a/api/src/Session.php +++ b/api/src/Session.php @@ -1796,8 +1796,8 @@ class Session } // update dla in access-log table, if we have an access-log row (non-anonymous session) if ($this->sessionid_access_log && $update_access_log && - // ignore updates (session creation is written) of *dav and avatar, due to possible high volume of updates - !preg_match('#^(/webdav|/groupdav|/api/avatar)\.php#', $this->action) && + // ignore updates (session creation is written) of *dav, avatar and thumbnail, due to possible high volume of updates + !preg_match('#^(/webdav|/groupdav|/api/avatar|/api/thumbnail)\.php#', $this->action) && is_object($GLOBALS['egw']->db)) { $GLOBALS['egw']->db->update(self::ACCESS_LOG_TABLE,array(