File tree
Expand file treeCollapse file tree1 file changed
+1
-8
lines changed webapp/src/Controller/Jury
Expand file treeCollapse file tree1 file changed
+1
-8
lines changed Original file line number | Diff line number | Diff line change |
---|
@@ -494,14 +494,7 @@ public function viewAction(
|
494 | 494 | ->getSingleScalarResult();
|
495 | 495 | }
|
496 | 496 |
|
497 |
| -$evalOnDemand = false; |
498 |
| -$problemLazyEvalResults = $submission->getContestProblem()->getLazyEvalResults(); |
499 |
| -if (((int)$problemLazyEvalResults === (int)DOMJudgeService::EVAL_DEFAULT |
500 |
| -&& (int)$this->config->get('lazy_eval_results') === (int)DOMJudgeService::EVAL_DEMAND) |
501 |
| -|| (int)$problemLazyEvalResults === (int)DOMJudgeService::EVAL_DEMAND |
502 |
| -) { |
503 |
| -$evalOnDemand = true; |
504 |
| -} |
| 497 | +$evalOnDemand = $submission->getContestProblem()->determineOnDemand($this->config->get('lazy_eval_results')); |
505 | 498 |
|
506 | 499 | $twigData = [
|
507 | 500 | 'submission' => $submission,
|
|
You can’t perform that action at this time.
0 commit comments