mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
[feature/attach-dl] Remove the archive after it's downloaded
PHPBB3-11042
This commit is contained in:
parent
dd7be79fc3
commit
6da47555e0
1 changed files with 1 additions and 0 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue