mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
[ticket/17361] Remove fclose after write
PHPBB-17361
This commit is contained in:
@@ -447,11 +447,6 @@ class filespec_storage
|
||||
$fp = fopen($this->filename, 'rb');
|
||||
|
||||
$storage->write($this->destination_file, $fp);
|
||||
|
||||
if (is_resource($fp))
|
||||
{
|
||||
fclose($fp);
|
||||
}
|
||||
}
|
||||
catch (\phpbb\storage\exception\storage_exception $e)
|
||||
{
|
||||
|
Reference in New Issue
Block a user