From ddb9e91bf2b16aa6f31ebdb3a2119056e971ba96 Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Fri, 15 Aug 2025 09:36:45 +0200 Subject: 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. --- lib/lib_rss.php | 1 - 1 file changed, 1 deletion(-) (limited to 'lib/lib_rss.php') diff --git a/lib/lib_rss.php b/lib/lib_rss.php index 480152400..59e7abba0 100644 --- a/lib/lib_rss.php +++ b/lib/lib_rss.php @@ -642,7 +642,6 @@ function httpGet(string $url, string $cachePath, string $type = 'html', array $a $c_effective_url = curl_getinfo($ch, CURLINFO_EFFECTIVE_URL); $c_redirect_count = curl_getinfo($ch, CURLINFO_REDIRECT_COUNT); $c_error = curl_error($ch); - curl_close($ch); $parser = new \SimplePie\HTTP\Parser(is_string($response) ? $response : ''); if ($parser->parse()) { -- cgit v1.2.3