Skip to content

Commit 7641e17

Browse files
authored
Update webapp/src/Controller/API/JudgehostController.php
1 parent fa3e2ed commit 7641e17

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

webapp/src/Controller/API/JudgehostController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1758,7 +1758,7 @@ private function serializeJudgeTasks(array $judgeTasks, Judgehost $judgehost): a
17581758
}
17591759

17601760
$now = Utils::now();
1761-
$numUpdated = sizeof($judgeTasks);/*$this->em->getConnection()->executeStatement(
1761+
$numUpdated = $this->em->getConnection()->executeStatement(
17621762
'UPDATE judgetask SET judgehostid = :judgehostid, starttime = :starttime WHERE starttime IS NULL AND valid = 1 AND judgetaskid IN (:ids)',
17631763
[
17641764
'judgehostid' => $judgehost->getJudgehostid(),

0 commit comments

Comments
 (0)