diff --git a/app/controllers/shared/api.php b/app/controllers/shared/api.php index 4f1e723c46..83b56f626a 100644 --- a/app/controllers/shared/api.php +++ b/app/controllers/shared/api.php @@ -777,8 +777,6 @@ App::shutdown() return; } - // Purge cache to ensure we get fresh session count - $dbForProject->purgeCachedDocument('users', $userId); $user = $dbForProject->getDocument('users', $userId); if ($user->isEmpty()) { return;