temp-check: force purging cache

This commit is contained in:
ArnabChatterjee20k
2025-12-24 16:55:13 +05:30
parent 57c80d5967
commit 00e00ff166
+2
View File
@@ -777,6 +777,8 @@ 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;