aboutsummaryrefslogtreecommitdiff
path: root/lib/favicons.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2025-08-15 09:36:45 +0200
committerGravatar GitHub <noreply@github.com> 2025-08-15 09:36:45 +0200
commitddb9e91bf2b16aa6f31ebdb3a2119056e971ba96 (patch)
tree9c8366980860b83a30e129c84451ed45d3d9f82a /lib/favicons.php
parentcc8afa77505fba66dc8f6de794228184c7e05e74 (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 'lib/favicons.php')
-rw-r--r--lib/favicons.php1
1 files changed, 0 insertions, 1 deletions
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;
}