aboutsummaryrefslogtreecommitdiffhomepage
path: root/services
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2024-03-07 18:46:10 +0900
committernsfisis <nsfisis@gmail.com>2024-03-07 18:46:10 +0900
commit34b12c386392e811301385517a3b2471a3c0beb3 (patch)
tree3d74a36c8e6a0027ad62345e4b2eedee981427c8 /services
parent9e0e32e1dcfa9275382223bef3038962082562c7 (diff)
downloadphperkaigi-2024-albatross-34b12c386392e811301385517a3b2471a3c0beb3.tar.gz
phperkaigi-2024-albatross-34b12c386392e811301385517a3b2471a3c0beb3.tar.zst
phperkaigi-2024-albatross-34b12c386392e811301385517a3b2471a3c0beb3.zip
Revert "do not plot answer that was submitted before the quiz is started in chart"
This reverts commit 9e0e32e1dcfa9275382223bef3038962082562c7.
Diffstat (limited to 'services')
-rw-r--r--services/app/src/App.php3
1 files changed, 0 insertions, 3 deletions
diff --git a/services/app/src/App.php b/services/app/src/App.php
index 299646b..b3e3491 100644
--- a/services/app/src/App.php
+++ b/services/app/src/App.php
@@ -934,9 +934,6 @@ final class App
$stats = [];
foreach ($correctAnswers as $answer) {
- if ($answer->submitted_at < $quiz->started_at) {
- continue;
- }
if (!isset($stats[$answer->author_id])) {
$stats[$answer->author_id]['user'] = [
'name' => $answer->author_name,