diff options
author | Robin Appelman <robin@icewind.nl> | 2022-09-13 16:52:44 +0200 |
---|---|---|
committer | Robin Appelman <robin@icewind.nl> | 2024-06-21 11:01:46 +0200 |
commit | f6d18f8303882a43510d67c787410aec7c8e28e8 (patch) | |
tree | aefae7e31c4d41882f903ef720c5516198c055fe /lib/private/User | |
parent | f56bca3385243f5f996b47b811a218c00816a215 (diff) | |
download | nextcloud-server-merge-token-updates.tar.gz nextcloud-server-merge-token-updates.zip |
perf: merge last_activity and last_check updatesmerge-token-updates
the debounce for updating last_activity is changed so it always updates if another field of the token has been updated, this ensures that last_check if updated even if last_activity is still in the debounce period.
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'lib/private/User')
-rw-r--r-- | lib/private/User/Session.php | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/private/User/Session.php b/lib/private/User/Session.php index e5d27172519..8226e3c95f5 100644 --- a/lib/private/User/Session.php +++ b/lib/private/User/Session.php @@ -757,7 +757,6 @@ class Session implements IUserSession, Emitter { if ($dbToken instanceof PublicKeyToken) { $dbToken->setLastActivity($now); } - $this->tokenProvider->updateToken($dbToken); return true; } |