PHP 8.5 curl_close() is deprecated, as it has no effect since PHP 8.0

This commit is contained in:
the-djmaze 2026-11-03 02:29:40 +01:00
parent a87aeb02c8
commit fb3c4eeedd
6 changed files with 0 additions and 6 deletions

View file

@ -60,7 +60,6 @@ class ChangePasswordMailcowDriver
curl_setopt($ch, CURLOPT_HTTPHEADER, array_map(function($k, $v) {return "$k: $v";}, array_keys($headers), $headers));
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$result = curl_exec($ch);
curl_close($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);