mirror of
https://codeberg.org/PostERG/xamxam.git
synced 2026-05-07 03:29:19 +02:00
fix: drop curl_close() call (deprecated PHP 8.5, no-op since 8.0)
This commit is contained in:
@@ -446,7 +446,6 @@ class SystemController
|
|||||||
curl_exec($ch);
|
curl_exec($ch);
|
||||||
$ms = (int) round((microtime(true) - $start) * 1000);
|
$ms = (int) round((microtime(true) - $start) * 1000);
|
||||||
$code = (int) curl_getinfo($ch, CURLINFO_HTTP_CODE);
|
$code = (int) curl_getinfo($ch, CURLINFO_HTTP_CODE);
|
||||||
curl_close($ch);
|
|
||||||
return $code > 0 ? [$code, $ms] : null;
|
return $code > 0 ? [$code, $ms] : null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user