Skip to content

Commit bf66294

Browse files
committed
disable judgetask checks on judging created before migration
1 parent d86e3e9 commit bf66294

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

webapp/src/Service/DOMJudgeService.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1036,7 +1036,8 @@ public function helperUnblockJudgeTasks(): QueryBuilder
10361036
->select('j')
10371037
->from(Judging::class, 'j')
10381038
->leftJoin(JudgeTask::class, 'jt', Join::WITH, 'j.judgingid = jt.jobid')
1039-
->where('jt.jobid IS NULL');
1039+
->where('jt.jobid IS NULL')
1040+
->andWhere("j.judgingid >= 37041"); // Ignore submissions before DOMJudge 8.0 update.
10401041
}
10411042

10421043
public function unblockJudgeTasksForLanguage(string $langId): void

0 commit comments

Comments
 (0)