diff --git a/php/router.php b/php/router.php index 99bcc72..20d8abe 100644 --- a/php/router.php +++ b/php/router.php @@ -760,7 +760,7 @@ function synchronizeEvaluations(array $evaluations): array $database->rollBack(); throw $error; } - cleanupInactiveUserData($now); + if (deploymentMode() === 'global') cleanupInactiveUserData($now); return $states; }