diff options
| author | 2025-08-15 09:36:45 +0200 | |
|---|---|---|
| committer | 2025-08-15 09:36:45 +0200 | |
| commit | ddb9e91bf2b16aa6f31ebdb3a2119056e971ba96 (patch) | |
| tree | 9c8366980860b83a30e129c84451ed45d3d9f82a /app/Controllers/updateController.php | |
| parent | cc8afa77505fba66dc8f6de794228184c7e05e74 (diff) | |
Fix some PHP 8.5 deprecations (#7826)
https://github.com/php/php-src/blob/php-8.5.0beta1/NEWS
https://php.net/function.curl-close
> This function has no effect. Prior to PHP 8.0.0, this function was used to close the resource.
Diffstat (limited to 'app/Controllers/updateController.php')
| -rw-r--r-- | app/Controllers/updateController.php | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/app/Controllers/updateController.php b/app/Controllers/updateController.php index b76b528d8..d97b18c70 100644 --- a/app/Controllers/updateController.php +++ b/app/Controllers/updateController.php @@ -222,7 +222,6 @@ class FreshRSS_update_Controller extends FreshRSS_ActionController { $result = curl_exec($curlResource); $curlGetinfo = curl_getinfo($curlResource, CURLINFO_HTTP_CODE); $curlError = curl_error($curlResource); - curl_close($curlResource); if ($curlGetinfo !== 200) { Minz_Log::warning( |
