mirror of
https://github.com/phpbb/phpbb.git
synced 2025-02-24 03:54:10 +01:00
[feature/attach-dl] Remove the archive after it's downloaded
PHPBB3-11042
This commit is contained in:
parent
dd7be79fc3
commit
6da47555e0
@ -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…
x
Reference in New Issue
Block a user