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/favicons.php | 1 - 1 file changed, 1 deletion(-) (limited to 'lib/favicons.php') diff --git a/lib/favicons.php b/lib/favicons.php index c28cdfc7f..3072874d7 100644 --- a/lib/favicons.php +++ b/lib/favicons.php @@ -18,7 +18,6 @@ function isImgMime(string $content): bool { } $content = finfo_buffer($fInfo, $content); $isImage = str_contains($content ?: '', 'image'); - finfo_close($fInfo); return $isImage; } -- cgit v1.2.3