remove curl_close as it has no effect since php8.0 (https://www.php.net/manual/en/function.curl-close.php)

This commit is contained in:
HB9HIL
2026-01-26 10:41:29 +01:00
parent 2a4a5014f6
commit 8a8bb4d337
22 changed files with 32 additions and 94 deletions

View File

@@ -116,7 +116,6 @@ class cron extends CI_Controller {
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, false);
}
$crun = curl_exec($ch);
curl_close($ch);
if ($crun !== false) {
echo "CRON: " . $cron->id . " -> CURL Result: " . $crun . "\n";