[ticket/17361] Fix file not deleted when there is an error

PHPBB-17361
This commit is contained in:
Ruben Calvo 2025-01-19 21:09:36 +01:00
parent 921505ca3b
commit c9ff5a09f6
No known key found for this signature in database

View file

@ -447,6 +447,7 @@ class filespec_storage
$fp = fopen($this->filename, 'rb');
$storage->write($this->destination_file, $fp);
$this->file_moved = true;
}
catch (\phpbb\storage\exception\storage_exception $e)
{