Skip to content

Commit bb9486d

Browse files
curl_close is a no-op since PHP 8.0, so drop it
1 parent 17ef53d commit bb9486d

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

judge/judgedaemon.main.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -686,7 +686,6 @@ private function setupCurlHandle(string $restuser, string $restpass): \CurlHandl
686686
private function closeCurlHandles(): void
687687
{
688688
if (!empty($this->endpoint['ch'])) {
689-
curl_close($this->endpoint['ch']);
690689
unset($this->endpoint['ch']);
691690
}
692691
}

0 commit comments

Comments
 (0)