aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/download/file.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/download/file.php')
-rw-r--r--phpBB/download/file.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/phpBB/download/file.php b/phpBB/download/file.php
index a5d7eada3f..cd365767c2 100644
--- a/phpBB/download/file.php
+++ b/phpBB/download/file.php
@@ -410,5 +410,6 @@ else
$compress->close();
phpbb_increment_downloads($db, $attachment_ids);
$compress->download($store_name, $archive_name);
+ unlink("{$phpbb_root_path}store/{$store_name}{$archive}");
file_gc();
}