mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 16:03:47 +01:00
ignore updates (session creation is written) of *dav and avatar, due to possible high volume of updates
This commit is contained in:
parent
163eb1fe48
commit
71d3e3a80c
@ -1795,7 +1795,10 @@ class Session
|
||||
$this->set_action($action);
|
||||
}
|
||||
// update dla in access-log table, if we have an access-log row (non-anonymous session)
|
||||
if ($this->sessionid_access_log && $update_access_log && is_object($GLOBALS['egw']->db))
|
||||
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) &&
|
||||
is_object($GLOBALS['egw']->db))
|
||||
{
|
||||
$GLOBALS['egw']->db->update(self::ACCESS_LOG_TABLE,array(
|
||||
'session_dla' => time(),
|
||||
|
Loading…
Reference in New Issue
Block a user