diff --git a/phpBB/phpbb/files/filespec_storage.php b/phpBB/phpbb/files/filespec_storage.php index 49c9618844..5f3b895a05 100644 --- a/phpBB/phpbb/files/filespec_storage.php +++ b/phpBB/phpbb/files/filespec_storage.php @@ -288,6 +288,10 @@ class filespec_storage { $storage->delete($this->destination_file); } + else + { + @unlink($this->filename); + } } /**