1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-05 00:07:44 +02:00

[ticket/17361] Remove fclose after write

PHPBB-17361
This commit is contained in:
Ruben Calvo
2024-11-28 21:21:15 +01:00
parent e9c445925b
commit 6d9a8ae8af
3 changed files with 0 additions and 15 deletions

View File

@@ -246,11 +246,6 @@ class upload
$fp = fopen($destination, 'rb');
$this->storage->write($destination_name, $fp);
if (is_resource($fp))
{
fclose($fp);
}
}
else
{